This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.

Reciently, Firefox started automatically playing videos, I've set preferences to "alyays ask", what is going on?

more options

this happens on CNN, CNBC and Yahoo, in the recent past they would always ask permissions, All add-on permissions are set to either "aleays Ask" or "never activate", What changed????

this happens on CNN, CNBC and Yahoo, in the recent past they would always ask permissions, All add-on permissions are set to either "aleays Ask" or "never activate", What changed????

Réiteach roghnaithe

It depends on whether sites use a plugin for video. Some kinds of video can be played by Firefox directly. That uses the built-in HTML5 video player, in combination with the Windows Media Foundation (to decode MP4/H.264 video).

There are two hidden settings that help control when videos start which you could test out to see whether you like the results:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful.

(2) In the search box above the list, type or paste media. and pause while the list is filtered

(3) To avoid videos in background tabs starting before you activate the tab: Double-click the media.block-play-until-visible preference to switch the value from false to true

(4) To pause the player on sites that activate it automatically: Double-click the media.autoplay.enabled preference to switch the value from true to false -- note that the video will still buffer, this doesn't block downloading, just pauses playback. Unless it was fixed by now, Firefox doesn't update the controls on the player, so the video may show a pause button instead of a play button. In that case, you need to click the pause button, then the play button, if you actually want the video to play.

Read this answer in context 👍 1

All Replies (1)

more options

Réiteach Roghnaithe

It depends on whether sites use a plugin for video. Some kinds of video can be played by Firefox directly. That uses the built-in HTML5 video player, in combination with the Windows Media Foundation (to decode MP4/H.264 video).

There are two hidden settings that help control when videos start which you could test out to see whether you like the results:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful.

(2) In the search box above the list, type or paste media. and pause while the list is filtered

(3) To avoid videos in background tabs starting before you activate the tab: Double-click the media.block-play-until-visible preference to switch the value from false to true

(4) To pause the player on sites that activate it automatically: Double-click the media.autoplay.enabled preference to switch the value from true to false -- note that the video will still buffer, this doesn't block downloading, just pauses playback. Unless it was fixed by now, Firefox doesn't update the controls on the player, so the video may show a pause button instead of a play button. In that case, you need to click the pause button, then the play button, if you actually want the video to play.