Hi James,


Thanks for the good info.



For the Widevine plugin, I like that media.eme.enabled=false disables its 
auto-download on startup and offers a "download and install on first use" 
scenario:



[cid:[email protected]]

URL:  https://bitmovin.com/mpeg-dash-hls-drm-test-player/



However, for the OpenH264 plugin, the best I was able to come up with is just 
disable it even before it attempts to download it by setting 
media.gmp-gmpopenh264.enabled = false.  Every other combination of preferences 
I tried kept allowing OpenH264 to auto-download-and-install in the background 
on startup instead of replicating how I got Widevine to function now.  
Hopefully this won't break any sites our students have used or plan to use in 
the future.  If I later find that something breaks though, I have a way to 
clear this preference and let Firefox go back to auto-downloading it *every 
time* for every student who uses our lab and classroom computers.



Thanks for the idea of preloading these plugins.  If this works and I later 
decide to go down this road, I'll have to come up with a good deployment 
strategy for keeping newly-imaged systems' Firefox plugins always up to date.  
:)   I'm not sure if CCK2 handles its managed preferences as a default pref, a 
user pref, or choice to set it either way.


--
Scott Copus, Lab Systems Engineer
Academic Technology | Western Kentucky University
http://www.wku.edu/it/labs



-----Original Message-----
From: James Pearson [mailto:[email protected]]
Sent: Friday, May 12, 2017 1:50 PM
To: Copus, Scott <[email protected]>; [email protected]
Subject: RE: [Mozilla Enterprise] automating first-run tasks (changing 
application handlers, preinstalled plugins)



[email protected]<mailto:[email protected]>:

>

> Second, is there a way to pre-install (to a fresh new profile) the default 
> video codecs

> (Widevine/OpenH264/etc) so they're available IMMEDIATELY at launch and not 
> wait for

> Firefox to download them?



This is what I've done (on Linux, but it should work fine on other platforms?) 
for openh264 for ESR 52:



Get the location of the download via the the source code:



https://hg.mozilla.org/releases/mozilla-esr52/file/tip/toolkit/content/gmp-sources/openh264.json



Download the zip file suitable for your platform



Extract the contents and put them in a folder under your Firefox install 
location:



browser/plugins/gmp-gmpopenh264/system-installed/



(or browser\plugins\gmp-gmpopenh264\system-installed\ on Windows?)



i.e. the files: gmpopenh264.info and libgmpopenh264.*



Then, in your autoconfig cfg file add the lines:



pref("media.gmp-gmpopenh264.autoupdate", false);

pref("media.gmp-gmpopenh264.enabled", true);

defaultPref("media.gmp-gmpopenh264.version", "system-installed");



This will enable the plugin and prevent it from updating - I had to use 
defaultPref() for the version to get it to work



I haven't needed Widevine - but I guess something similar may work ?



Location of the download from:



https://hg.mozilla.org/releases/mozilla-esr52/file/tip/toolkit/content/gmp-sources/widevinecdm.json



James Pearson
_______________________________________________
Enterprise mailing list
[email protected]
https://mail.mozilla.org/listinfo/enterprise

To unsubscribe from this list, please visit 
https://mail.mozilla.org/listinfo/enterprise or send an email to 
[email protected] with a subject of "unsubscribe"

Reply via email to