Avoid being startled by websites playing sounds

User avatar
John Gray
PlatinumLounger
Posts: 5405
Joined: 24 Jan 2010, 08:33
Location: A cathedral city in England

Avoid being startled by websites playing sounds

Post by John Gray »

More and more news websites are playing sounds/music/videos when you display one of their webpages.
I find this deeply infuriating.

If this playing is done via HTML5 a possible solution in Firefox is to go into
about:config
and in the resultant Configuration editor scroll down to the
media.autoplay.enabled
preference and click on it to turn true to false

Seems to work for me!
John Gray

"(or one of the team)" - how your appointment letter indicates you won't be seeing the Consultant...

User avatar
HansV
Administrator
Posts: 78391
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Avoid being startled by websites playing sounds

Post by HansV »

Thanks!
Best wishes,
Hans

User avatar
Rudi
gamma jay
Posts: 25455
Joined: 17 Mar 2010, 17:33
Location: Cape Town

Re: Avoid being startled by websites playing sounds

Post by Rudi »

Thanks John! Handy. :cheers:

To see how to disable automatic video playing in the Chrome browser, see this thread, here.
Regards,
Rudi

If your absence does not affect them, your presence didn't matter.

User avatar
StuartR
Administrator
Posts: 12601
Joined: 16 Jan 2010, 15:49
Location: London, Europe

Re: Avoid being startled by websites playing sounds

Post by StuartR »

Very helpful. Thank you.
StuartR


User avatar
Rebel
4StarLounger
Posts: 564
Joined: 24 Jan 2010, 16:02
Location: Recently moved to Bracebridge - in the heart of Muskoka.

Re: Avoid being startled by websites playing sounds

Post by Rebel »

Thanks John. I have this turned off (via an extension) in Chrome, and now FF is modified as well. :thankyou: :clapping:
John :canada:
A Child's Mind, Once Stretched by Imagination...
Never Regains Its Original Dimensions

User avatar
ChrisGreaves
PlutoniumLounger
Posts: 15585
Joined: 24 Jan 2010, 23:23
Location: brings.slot.perky

Re: Avoid being startled by websites playing sounds

Post by ChrisGreaves »

John Gray wrote:media.autoplay.enabled preference and click on it to turn true to false

Moderators:

Please extend John Gray's account by one full year and send me the bill!
:thankyou:
There's nothing heavier than an empty water bottle

User avatar
stuck
Panoramic Lounger
Posts: 8160
Joined: 25 Jan 2010, 09:09
Location: retirement

Re: Avoid being startled by websites playing sounds

Post by stuck »

I've come across a less than helpful side effect of making this change...

When I have media.autoplay.enabled set to true then Vimeo videos will not play. The page loads all right but nothing will make the video start. Change media.autoplay.enabled back to false and the page works as expected.

Ken

User avatar
HansV
Administrator
Posts: 78391
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Avoid being startled by websites playing sounds

Post by HansV »

I hadn't noticed that yet, but you're correct. That's a pity - Vimeo has many excellent videos.
Best wishes,
Hans

User avatar
Rebel
4StarLounger
Posts: 564
Joined: 24 Jan 2010, 16:02
Location: Recently moved to Bracebridge - in the heart of Muskoka.

Re: Avoid being startled by websites playing sounds

Post by Rebel »

What happens if you click the "Pause" button and then click the "Play" button? It works for me.
edited to add
:sigh: but only in Chrome - not Firefox. Too bad indeed.
John :canada:
A Child's Mind, Once Stretched by Imagination...
Never Regains Its Original Dimensions

User avatar
HansV
Administrator
Posts: 78391
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Avoid being startled by websites playing sounds

Post by HansV »

Alas, that doesn't work for me. (It does work on several other media sites)
Best wishes,
Hans

User avatar
stuck
Panoramic Lounger
Posts: 8160
Joined: 25 Jan 2010, 09:09
Location: retirement

Re: Avoid being startled by websites playing sounds

Post by stuck »

Rebel wrote:What happens if you click the "Pause" button and then click the "Play" button?... ...not Firefox. Too bad indeed.
Exactly.

I don't have Chrome installed, never seen the need. I've used FF since v1 and this minor quirk is certainly not going to make me ditch it now.

Ken

User avatar
Rebel
4StarLounger
Posts: 564
Joined: 24 Jan 2010, 16:02
Location: Recently moved to Bracebridge - in the heart of Muskoka.

Re: Avoid being startled by websites playing sounds

Post by Rebel »

stuck wrote: Exactly.
I don't have Chrome installed, never seen the need. I've used FF since v1 and this minor quirk is certainly not going to make me ditch it now.
Ken
I certainly wasn't suggesting that anyone should "ditch" FF Ken. I was simply pointing out that the "click on pause, click on play" method works with Chrome, but unfortunately not with FF. :sad:
John :canada:
A Child's Mind, Once Stretched by Imagination...
Never Regains Its Original Dimensions

User avatar
stuck
Panoramic Lounger
Posts: 8160
Joined: 25 Jan 2010, 09:09
Location: retirement

Re: Avoid being startled by websites playing sounds

Post by stuck »

I guess this explains why the FF default for this setting is to allow autoplay, they've yet to fix all the bugs in it when it's set prevent autoplay.

User avatar
Argus
GoldLounger
Posts: 3081
Joined: 24 Jan 2010, 19:07

Re: Avoid being startled by websites playing sounds

Post by Argus »

stuck wrote:I've come across a less than helpful side effect of making this change...

When I have media.autoplay.enabled set to true then Vimeo videos will not play. The page loads all right but nothing will make the video start. Change media.autoplay.enabled back to false and the page works as expected.

Ken
That’s odd. For me it's the opposite, or am I missing something here? Set to True and they will play, and with the value set to False some/many will not play.

It depends on the video, it seems.

True or False, it will play.
Progressbar
An Object at Rest

Will play when value set to True, but not when set to False.
Forsvaret - “Minus 5”

It seems like some older videos are OK. Still, it's the opposite of Ken's experience, unless I'm missing something.
(They are also in a large group of sites that need cookies, but that's a different matter.)
Byelingual    When you speak two languages but start losing vocabulary in both of them.

User avatar
HansV
Administrator
Posts: 78391
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Avoid being startled by websites playing sounds

Post by HansV »

I suspect that Ken switched true and false in his post. It doesn't make sense that videos wouldn't play if media.autoplay.enabled is set to true.

I have set media.autoplay.enabled to false, and the first two videos that you mention will play, the last one doesn't, just as you report.
Best wishes,
Hans

User avatar
stuck
Panoramic Lounger
Posts: 8160
Joined: 25 Jan 2010, 09:09
Location: retirement

Re: Avoid being startled by websites playing sounds

Post by stuck »

HansV wrote:I suspect that Ken switched true and false in his post...
Oops! :blush:

Correct, what I really meant was that setting media.autoplay.enabled set to true, not only prevents autoplay on Vimeo it prevents play completely. Clicking 'pause' and then 'play' doesn't help, the video would not play until I restored media.autoplay.enabled to true (the default).

I don't know if this applies to all Vimeo videos but it did for those I was trying to view the other day.

Sorry for the confusion.

Ken