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

Pandora fails to work when media.autoplay.enabled is set to false

more options

I've toggled the media.autoplay.enabled value to false to stop irritating videos from autoplaying all over the damned place, however this seems to have disable the ability of Pandora and Amazon Music to function. I've toggled back to true and managed to operate the site, but the music will fail to proceed to the next track once I've toggled back to false.

Why does autoplay need to be enabled when I am attempting to manually play the music tracks? (literally pressing the play button.) That's not autoplay, that's just play.

Is there a way to add exceptions for the media.autoplay option? As if there were a way to code for something like media.autoplay.enabled = false for all except site: Pandora, Amazon Music

I've toggled the media.autoplay.enabled value to false to stop irritating videos from autoplaying all over the damned place, however this seems to have disable the ability of Pandora and Amazon Music to function. I've toggled back to true and managed to operate the site, but the music will fail to proceed to the next track once I've toggled back to false. Why does autoplay need to be enabled when I am attempting to manually play the music tracks? (literally pressing the play button.) That's not autoplay, that's just play. Is there a way to add exceptions for the media.autoplay option? As if there were a way to code for something like media.autoplay.enabled = false for all except site: Pandora, Amazon Music

All Replies (6)

more options

I haven't heard of this problem before. Your browser says it is version 54.0.1 (as modified by Waterfox) so if this affected everyone, I think there would have been a post on it in the past 10 weeks. Something odd is happening.

Could you test in Firefox's Safe Mode? In Safe Mode, Firefox temporarily deactivates extensions, hardware acceleration, and some other advanced features to help you assess whether these are causing the problem.

If Firefox is not running: Hold down the Shift key when starting Firefox.

If Firefox is running: You can restart Firefox in Safe Mode using either:

  • "3-bar" menu button > "?" button > Restart with Add-ons Disabled
  • Help menu > Restart with Add-ons Disabled

and OK the restart.

Both scenarios: A small dialog should appear. Click "Start in Safe Mode" (not Refresh).

Any improvement? (More info: Diagnose Firefox issues using Troubleshoot Mode)

Urobolos said

Is there a way to add exceptions for the media.autoplay option? As if there were a way to code for something like media.autoplay.enabled = false for all except site: Pandora, Amazon Music

No. It's not a "permission" so it doesn't have site-by-site settings.

more options

We have seen issues before with autoplay disabled where a script running on the website doesn't detect this properly. In that case you would have to click Play twice to start the video.

more options

jscher2000 said

I haven't heard of this problem before. Your browser says it is version 54.0.1 (as modified by Waterfox) so if this affected everyone, I think there would have been a post on it in the past 10 weeks. Something odd is happening. Could you test in Firefox's Safe Mode? In Safe Mode, Firefox temporarily deactivates extensions, hardware acceleration, and some other advanced features to help you assess whether these are causing the problem. If Firefox is not running: Hold down the Shift key when starting Firefox. If Firefox is running: You can restart Firefox in Safe Mode using either:
  • "3-bar" menu button > "?" button > Restart with Add-ons Disabled
  • Help menu > Restart with Add-ons Disabled
and OK the restart. Both scenarios: A small dialog should appear. Click "Start in Safe Mode" (not Refresh). Any improvement? (More info: Diagnose Firefox issues using Troubleshoot Mode) Urobolos said
Is there a way to add exceptions for the media.autoplay option? As if there were a way to code for something like media.autoplay.enabled = false for all except site: Pandora, Amazon Music

No. It's not a "permission" so it doesn't have site-by-site settings.

No change in safemode. Behavior is the same as regular mode.

cor-el said

We have seen issues before with autoplay disabled where a script running on the website doesn't detect this properly. In that case you would have to click Play twice to start the video.

Double clicking the play button starts the progress bar (not sure if that's the actual progress or a buffering indication in this situation), but the time counter doesn't change and no audio plays. Additionally clicking the button again seems to lock it into a "paused" mode and click play again has no effect.

more options

Just realized I don't need a Pandora account to test this:

https://www.pandora.com/station/play/3713379784854834023

In Firefox 55, the Web Console shows:

[7:53:27:38] WARN Client/mediaElementHarness: The play method is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.

I don't know whether this is something unique to how the player works on Pandora or affects all scripted play() commands.

You can show the built-in player controls, limited as they are, by running this script:

var player=document.getElementById('mediaelement_0'); player.setAttribute('controls', 'true'); player.setAttribute('style', 'position:fixed; bottom:1px; left:1px; height:40px; width:200px; z-index:1000; display:block;');

But hopefully a more convenient method will be found, or Pandora will find a workaround. Have you reported this problem to them?

more options

I have sent a message to Pandora, I have not yet heard anything from them.

more options

Here's a screenshot for the previous post.

jscher2000 - Support Volunteer modificouno o