Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

Learn More

start video in backgroud

more options

Hello everyone!

I need to start a video even though my page is in the background, this does not start until the page is in the foreground, I have already checked the following param network.http.throttle.enable network.http.throttle.suspend-for network.http.throttle.version media.suspend-bkgnd-video.enabled media.videocontrols.picture-in-picture.video-toggle.enabled dom.min_background_timeout_value but none works, any idea how I can activate the video in the background

Hello everyone! I need to start a video even though my page is in the background, this does not start until the page is in the foreground, I have already checked the following param network.http.throttle.enable network.http.throttle.suspend-for network.http.throttle.version media.suspend-bkgnd-video.enabled media.videocontrols.picture-in-picture.video-toggle.enabled dom.min_background_timeout_value but none works, any idea how I can activate the video in the background

Toutes les réponses (3)

more options

You can check media*autoplay prefs like these:

  • media.block-autoplay-until-in-foreground = false

Note that services.sync.prefs.sync.<pref> prefs are about syncing prefs to other devices and best is to leave such prefs alone unless you do not want to sync the specified pref.

more options

thanks for the answer, change the parameter to false, but it still continues without playing the video when it is in the background

more options

There is an add-on for YouTube and Vimeo to prevent the sites from detecting that their tab is in the background, so they don't pause the stream. If the video is playing on one of those sites, you could take a look:

https://addons.mozilla.org/firefox/addon/video-background-play-fix/