Bug 1347791 - part5 : only enable on desktop. draft
authorAlastor Wu <alwu@mozilla.com>
Thu, 29 Jun 2017 05:46:30 -0700
changeset 602020 0f446f236f3bded13126f80e8778ac02368dd335
parent 602019 9ab7ba94ce6f76b5295411e2dcd0beb5813cf524
child 635430 94a805f83e87113e4aec3a5d6b7ece5d69602ba7
push id66245
push useralwu@mozilla.com
push dateThu, 29 Jun 2017 13:14:24 +0000
bugs1347791
milestone56.0a1
Bug 1347791 - part5 : only enable on desktop. This feature would onlt be enable on desktop. MozReview-Commit-ID: GUBDP9CGoou
mobile/android/app/mobile.js
--- a/mobile/android/app/mobile.js
+++ b/mobile/android/app/mobile.js
@@ -911,16 +911,17 @@ pref("identity.sync.tokenserver.uri", "h
 // Enable Presentation API on Nightly
 pref("dom.presentation.enabled", true);
 pref("dom.presentation.controller.enabled", true); // enable 1-UA mode
 pref("dom.presentation.receiver.enabled", true); // enable 1-UA mode
 #endif
 
 pref("dom.audiochannel.audioCompeting", true);
 pref("dom.audiochannel.mediaControl", true);
+pref("media.block-autoplay-until-in-foreground", false);
 
 // Space separated list of URLS that are allowed to send objects (instead of
 // only strings) through webchannels. This list is duplicated in browser/app/profile/firefox.js
 pref("webchannel.allowObject.urlWhitelist", "https://accounts.firefox.com https://content.cdn.mozilla.net https://input.mozilla.org https://support.mozilla.org https://install.mozilla.org");
 
 pref("media.openUnsupportedTypeWithExternalApp", true);
 
 pref("dom.keyboardevent.dispatch_during_composition", true);