搜索 | 用户支持

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

详细了解

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

所有回复 (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/