Video/audio stops playing when switching to other tab

Users and developers helping users with technical Pale Moon issues (Windows and other non-Linux O.S.). Please direct questions about the Linux version to the appropriate Linux board.

Moderators: Indalecio, satrow

Forum rules
This board is for technical/usage questions and troubleshooting for the Pale Moon browser only. The main focus here is on Pale Moon on Windows. Please direct your questions for Linux, Android and Mac to the dedicated boards.
Technical issues and questions not related to the Pale Moon browser should be posted in "technical chat"
Please keep off-topic and general discussion out of this board, thank you!
_yuyu_
Moonbather
Moonbather
Posts: 66
Joined: Mon Mar 02, 2015 2:18 pm
Location: Moscow

Video/audio stops playing when switching to other tab

Postby _yuyu_ » Sun Jun 18, 2017 11:22 pm

Cannot figure out how to keep media content playing in an inactive tab. Some time ago I think i switched something in the config. Can anyone tell me a possible way to revert?

User avatar
Pale Moon Rising
Board Warrior
Board Warrior
Posts: 2056
Joined: Tue Oct 06, 2015 4:59 pm
Location: Los Angeles CA USA

Re: Video/audio stops playing when switching to other tab

Postby Pale Moon Rising » Mon Jun 19, 2017 3:13 am

If you think a change you made to your profile has caused this change from what you had before then you could try Pale Moon in a "clean" profile to verify doing this will get back what you had before. If a "clean" (default) profile does not "revert" to when you had "inactive" tabs that continue to play media content it would have to be something else like possibly an add-on change that would be the cause.

Unfortunately, I'm not aware of a pref setting that impacts this, in my case media content plays when I am on another tab (which is what you want) - but I'm not aware of what in the profile would change that.
Current Pale Moon(x86) Release | WIN7(64-bit) | I3 CPU, 2.53 GHz, 4G RAM

Good judgment comes from experience and a lot of that comes from bad judgment. - Will Rogers

Knowing Pale Moon is indisputably #1 is defined by knowing the totality of browsers. - Pale Moon Rising

CraigPD
Fanatic
Fanatic
Posts: 218
Joined: Tue Jan 01, 2013 7:03 pm
Location: Mexico

Re: Video/audio stops playing when switching to other tab

Postby CraigPD » Mon Jun 19, 2017 5:16 am

Check that these settings are at default (true).

Code: Select all

media.autoplay.allowscripted;true
media.autoplay.enabled;true

User avatar
Nigaikaze
Astronaut
Astronaut
Posts: 524
Joined: Sun Feb 02, 2014 10:15 pm
Location: Chicago, IL, USA

Re: Video/audio stops playing when switching to other tab

Postby Nigaikaze » Mon Jun 19, 2017 3:10 pm

Also look to see if you set either of these preferences:

Code: Select all

media.block-play-until-visible
media.block-autoplay-until-in-foreground

By default they are not listed in Pale Moon's about:config, and I'm not sure if either of them actually work in Pale Moon, but they are apparently used for blocking media playing in background tabs in recent versions of Firefox.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 19166
Joined: Sun Aug 28, 2011 5:27 pm
Location: 58.5°N 15.5°E
Contact:

Re: Video/audio stops playing when switching to other tab

Postby Moonchild » Mon Jun 19, 2017 3:29 pm

Nigaikaze wrote:Also look to see if you set either of these preferences:

Code: Select all

media.block-play-until-visible
media.block-autoplay-until-in-foreground

By default they are not listed in Pale Moon's about:config, and I'm not sure if either of them actually work in Pale Moon, but they are apparently used for blocking media playing in background tabs in recent versions of Firefox.


No, we don't have those preferences.
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.
Image


Return to “General support”

Who is online

Users browsing this forum: Mercury, Sajadi and 8 guests