Mozilla VPN is currently experiencing an outage. Our team is actively working to resolve the issue. Please check the status page for real-time updates. Thank you for your patience.

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

youtube click_to_play

  • 8 个回答
  • 4 人有此问题
  • 8 次查看
  • 最后回复者为 perduta

more options

I hate getting pop-ups, videos and adverts in my face as well as eating up my monthly broadband quota as I surf the web looking for information, so in FireFox I had set about:config -> plugins.click_to_play = true

That was working fine until recently. Now I see youtube somehow started bypass this setting of mine and shove the video at me anyway in spite of the message that it needs a plugin!

I note youtube equally bypass the 'ActiveX Filtering' in Internet Explorer 10. IMO there is no point having these options and settings if unscrupulous site operators can bypass them.

I presume youtube are abusing HTML 5 capabilities to achieve this effect and so I want to know if we can still disable active content or are going to be completely at the mercy of every site we visit in the future. :(

I hate getting pop-ups, videos and adverts in my face as well as eating up my monthly broadband quota as I surf the web looking for information, so in FireFox I had set about:config -> plugins.click_to_play = true That was working fine until recently. Now I see youtube somehow started bypass this setting of mine and shove the video at me anyway in spite of the message that it needs a plugin! I note youtube equally bypass the 'ActiveX Filtering' in Internet Explorer 10. IMO there is no point having these options and settings if unscrupulous site operators can bypass them. I presume youtube are abusing HTML 5 capabilities to achieve this effect and so I want to know if we can still disable active content or are going to be completely at the mercy of every site we visit in the future. :(

由perduta于修改

被采纳的解决方案

I seem to have fixed the problem as follows:

From the FireFox Help menu -> troubleshooting click in 'reset to default state' and I also uninstalled adobe flash player and reinstalled a fresh copy. Then I set up the preferences again.

I'm not sure what the problem was, but I noticed Flash player plugin keeps asking to be enabled on individual sites now and I suspect I may have clicked that at some stage and this allows it to make inconsistent exceptions that confuse the click-to-play settings.

定位到答案原位置 👍 11

所有回复 (8)

more options

Did you enter the HTML5 test on YouTube?

You can also try to set the media.autoplay.enabled pref to falser on the about:config page.

more options

Ah, no... I could have sworn I opted out ... but thanks for that link because something somehow appears to have opted me back in! :O It is a bit worrying if this is going to happen when their html 5 goes live, but opting out again seems to have fixed the problem for the time being. Just to be on the safe side I also switched off media.autoplay.enabled as you suggested :)

edit: update see below.

由perduta于修改

more options

... however opting out again is only a partial solution: I restarted ForeFox then SOME youtubes are click to play but others play anyway! For instance: watch?v=c5NL76BXauY is blocked until I click but watch?v=M4vqr3_ROIk is NOT and forces itself onto the screen even though it says a plug in is needed?!

more options

You can add &html5=1 or &html5=0 to a video link to try to force a specific version.

more options

Thanks, I did try that but it makes no difference: The video plays regardless. Maybe it has nothing to do with html5. Internet explorer can't block it either. It is a problem when our monthly data plan is squandered on video we don't want to watch :(

more options
more options

I tried that latest version of the addon/stop-youtube-autoplay but it doesn't seem to make any difference at all... Even stranger when I went back to about:config and disabled plugins.click_to_play and enabled media.autoplay it also makes no difference. It still says I need a plug in but continues to play anyway on some videos.

more options

选择的解决方案

I seem to have fixed the problem as follows:

From the FireFox Help menu -> troubleshooting click in 'reset to default state' and I also uninstalled adobe flash player and reinstalled a fresh copy. Then I set up the preferences again.

I'm not sure what the problem was, but I noticed Flash player plugin keeps asking to be enabled on individual sites now and I suspect I may have clicked that at some stage and this allows it to make inconsistent exceptions that confuse the click-to-play settings.