Eloston / disable-html5-autoplay

[CURRENTLY UNMAINTAINED] An extension for Chromium-based browsers that disables autoplay of HTML5 audio and video
GNU General Public License v3.0
241 stars 46 forks source link

Video.js and Flash player causing autoplay #73

Open LucasD3 opened 8 years ago

LucasD3 commented 8 years ago

At the following link, although the video is flash, which I have disabled, the audio is html5, and it is autoplaying:

http://www.latimes.com/opinion/op-ed/la-oe-sanders-message-20160805-snap-story.html

Eloston commented 8 years ago

Does the audio appear to be coming from an advertisement? If so, it's hard to reproduce but it's more than likely a duplicate of some other bug already reported.

LucasD3 commented 8 years ago

Strangely, the audio is of the main video (Sanders), not an advertisement.

Eloston commented 8 years ago

That is pretty strange. Does this happen every time? What Chrome version and OS do you use? I can't get anything to autoplay.

LucasD3 commented 8 years ago

OS: Mac OS X Version 10.11.5 Chrome version: 52.0.2743.116 (64-bit)

I have attached two screenshots. The first shows that the video is not playing (flash is disabled) but that there is a thin red line at the bottom of the video, which indicates the HTML5 audio. The second screenshot shows what happens when I move the cursor over the bottom of the video box, which makes the HTML5 audio bar visible. screen shot 1 screen shot 2

LucasD3 commented 8 years ago

Correction: I assumed that the video was flash, but it appears to be brightcove html5. So it looks like the video is disabled, but the audio plays.

Eloston commented 8 years ago

Thanks for the screenshots. Maybe this is happening because you still have Flash player installed? I don't have Flash player at all, so maybe Chrome does something different when Flash is disabled and when Flash isn't installed.

EDIT: By different, I mean that the JavaScript on the page can tell the difference, which is why you're getting an audio only player (which I believe could be caused by another problem reported before) instead of a Video.js player like I'm getting.

LucasD3 commented 8 years ago

Okay, yes, it must be because I have Flash installed, just set to "Let me choose when to run plugin content". So when I load the page, Chrome tells me that Flash has been disabled on the page. Perhaps the page detects that Flash has been blocked, and then tries to run HTML5 instead, but somehow bypasses the "Disable HTML5" plugin in the process?

Eloston commented 8 years ago

just set to "Let me choose when to run plugin content"

Oh I didn't realize you used click-to-play. That makes more sense. This behavior might be something I'll take into consideration in the future.

but somehow bypasses the "Disable HTML5" plugin in the process?

No I don't think it's bypassing it. If the audio you're hearing is from an HTML5 audio player, then it could be another instance of the SoundCloud issue. If it's still a video (but obstructed by the click-to-play box), then it could be another instance of the iframe issue.

Eloston commented 8 years ago

Another link with this bug (from #76): http://www.baltimoresun.com/news/opinion/oped/bs-ed-lifelong-republican-20160817-story.html