[tbb-bugs] #25898 [Applications/Tor Browser]: Youtube videos don't play automatically anymore

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Apr 24 15:55:58 UTC 2018


#25898: Youtube videos don't play automatically anymore
--------------------------------------+--------------------------
 Reporter:  gk                        |          Owner:  tbb-team
     Type:  defect                    |         Status:  new
 Priority:  Medium                    |      Milestone:
Component:  Applications/Tor Browser  |        Version:
 Severity:  Normal                    |     Resolution:
 Keywords:  tbb-usability-website     |  Actual Points:
Parent ID:                            |         Points:
 Reviewer:                            |        Sponsor:
--------------------------------------+--------------------------

Comment (by sysrqb):

 Right, I noticed in this in alpha, too. This is happening because
 `media.autoplay.enabled` is now `false` by default, compared with that
 pref is `true` by default in the stable release. I finally looked into
 this now, and I believe this was caused by one of the Orfox patches.

 2bcf9362c2c2820263488e3f5e9b6509da5bff2e includes setting
 `media.autoplay.enabled` = `false` in Orfox, however it also set this pref
 as `false` on desktop.

 {{{
 diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
 index 198028eeb96c..766e665c074a 100644
 --- a/modules/libpref/init/all.js
 +++ b/modules/libpref/init/all.js
 @@ -591,7 +591,7 @@ pref("media.encoder.webm.enabled", true);
  #endif

  // Whether to autostart a media element with an |autoplay| attribute
 -pref("media.autoplay.enabled", true);
 +pref("media.autoplay.enabled", false);
 }}}

 I partly prefer disabling autoplay, but the UX is not good, and this
 wasn't an intentional change on desktop, so I think we should revert this.
 `media.autoplay.enabled` is set as false in the mobile-specific pref file
 (mobile.js), already - so changing `modules/libpref/init/all.js` shouldn't
 affect Orfox.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25898#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tbb-bugs mailing list