diff --git a/b2g/app/b2g.js b/b2g/app/b2g.js index 58bca9140ea2..4af33ef12ed0 100644 --- a/b2g/app/b2g.js +++ b/b2g/app/b2g.js @@ -318,6 +318,11 @@ pref("media.cache_readahead_limit", 30); // Enable/Disable Gonk Decoder Module pref("media.fragmented-mp4.gonk.enabled", true); #endif + +//Encrypted media extensions. +pref("media.eme.enabled", true); +pref("media.eme.apiVisible", true); + // The default number of decoded video frames that are enqueued in // MediaDecoderReader's mVideoQueue. pref("media.video-queue.default-size", 3); diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index a0e479931fc3..2bbf4c880259 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -438,7 +438,7 @@ pref("media.track.enabled", false); // We want to enable on non-release builds and on release windows and mac // but on release builds restrict to YouTube. We don't enable for other // configurations because code for those platforms isn't ready yet. -#if defined(XP_WIN) || defined(XP_MACOSX) +#if defined(XP_WIN) || defined(XP_MACOSX) || defined(MOZ_WIDGET_GONK) pref("media.mediasource.enabled", true); #else pref("media.mediasource.enabled", false);