-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Block Audio/Video from playing in pages clicked by the plugin #12
Comments
Currently we are attempting to cancel all requests that we identify as audio/video/itunes/etc, but this needs much more thought/work |
why not have js simply delete any embed / object / video / audio tag from the pages within the hidden iframes? Can this cascade into the iFrames within those hidden iFrames? |
"[W]hy not have js simply delete any embed / object / video / audio tag from the pages within the hidden iframes"? Easier said than done I think... Do we have any example of a plugin that does this? Certainly there are flashblockers, but we've also talked about wanting 'grab' animated ads of different types for the adview... I'm currently using regexs to cancel these (sub)requests, but they simple/stupid at the moment, and things get through (clearly, see issue #16)... |
need a test-case for this |
This should be fixed (once and for all) by disallowing plugin permissions on the (click) page-worker |
Cool, does your code also prevent html5 video and audio there? |
good point -- we'll have to test this... |
closing for now, can re-open if we find another case |
This ad played audio in the background (FF 33.1, ADN 1.0.05):
|
Here's another case: Appears to be caused by 'jwplayer' triggering html5 video:
|
As is the one above (html5-video):
|
This can now be easily reproduced by loading/importing: lib/test/single-audio-test.json |
Fixed via a regular expression hack, should revisit this, but closing for now... |
Its annoying when ADN clicks a link in its hidden window, which then auto-starts video or audio. As the tab is not visible, the user can only mute the whole system, or restart Firefox.
The text was updated successfully, but these errors were encountered: