Feb 242017
 

Firefox + HTML5 + XP logo1.) Introduction & Explanation

This is one thing that has brought to me by two users ([SK1] on [Voodooalert]German flag and [liquidLD] who talked to me about this on IRC), and because I got a bit pissed off by it myself, I decided to look into the matter. Basically, HTML5 video on Windows XP / XP x64. But not just with webm (VP8/VP9), but also with H.264/AVC. Let’s face it, a lot of videos on the web rely on H.264 and sometimes you simply can’t watch certain videos or you won’t get all the available resolutions. Of course you could just rely on Adobe Flash, but since Google basically took over with their Pepperflash plugin and their Chrome browser no longer supports XP, it’s not the best move either. Especially when you think about Adobes’ history with critical security loopholes in Flash. HTML5 is just much, much safer, and free as well, and Firefox still supports XP.

Note that this guide is thus based on Firefox exclusively. Anything starting with version 47 should work, official support came in 49, and I’ll be using the current version, 51.0.1 at the time of writing.

So, why doesn’t it “just work” in the first place? It did a few years back, right? Because H.264 playback relies on a DRM plugin, on Linux it would be the Google Widevine plugin, on Windows it’s the Adobe Primetime plugin. So yes, Firefox does support DRM out of the box. But even if content isn’t signed and encrypted, the browser still relies on those plugins to play H.264. And the problem is, that Adobe found some problems with that plugin on XP, so they disabled support on the platform. Their version 17 plugin is still being rolled out with the browser however, and it is binary-compatible with XP, so let’s show you how to re-enable it!

2.) Making it work

On Windows XP and XP x64, the plugin should reside in the folder:

%USERPROFILE%\Application Data\Mozilla\Firefox\Profiles\<your profile folder>\gmp-eme-adobe\17\

That folder should contain the files eme-adobe.dll, eme-adobe.info and eme-adobe.voucher. If it doesn’t (maybe because you have a DRM-free version of Firefox), just create the folder structure yourself, get the necessary files from [here] and place them in that folder.

Having the files present won’t enable Adobe Primetime for you however as you can see on about:plugins (Note: The Cisco stuff you can see there is just for WebRTC, so it’s unusable for HTML5 <video>), we still need to tweak a few things on the about:config page of Firefox. Look for the following properties and set them to the values shown below. If a property doesn’t exist yet – media.gmp-eme-adobe.forceSupported most likely won’t – just create them yourself, all of them are boolean properties and all of them need to be set to true:

media.gmp-eme-adobe.enabled		true
media.gmp-eme-adobe.forceSupported	true
media.gmp-eme-adobe.visible		true
media.gmp.decoder.enabled		true
media.eme.enabled			true
media.mediasource.mp4.enabled		true
media.mp4.enabled			true

After making those changes, you’ll need to restart Firefox. Now you might already be good to go, but on some configurations, about:plugins might show something like this:

HTML5+H.264 on Firefox not yet working

Adobe Primetime seems enabled, but there is no file information? So it’s not actually loading the eme-adobe.dll yet (click to enlarge)

If that happens, open your preferences menu on the top right, click on “Add-ons”, then “Plugins” or just go to about:addons. What you should be seeing is this:

 

However, if Adobe Primetime shows a notice saying that it’s going to be “installed shortly”, forget it. Just do it manually on the plugins’ options page you can see on the right image. To do so, click “Check for Updates”. The warning should be gone momentarily. After that, re-check about:plugins, and you should be getting this:

Adobe Primetime fully enabled

Adobe Primetime fully enabled (click to enlarge)

3.) Testing

Now you can do a quick check on the [Youtube HTML5 page], and it should confirm that everything’s working:

Youtube confirming full HTML5 video support

Youtube confirming full HTML5 video support including H.264 and Media Source Extensions (click to enlarge)

With MSE, even Javascript players (like the Flowworks player) bytestreaming H.264 to Firefox should work! Of course, that’s not very thorough. What you’d want is a real playback test, since you can never be sure what you’re getting on Youtube without a bit of extra work. Decent playback tests are currently available on [Quirksmode], and it should look like this:

Firefox playing HTML5 H.264/AVC video in Firefox on Windows XP x64

Firefox playing HTML5 H.264/AVC video on Windows XP x64 (click to enlarge)

With this, even stuff like Netflix works, because you’re getting not just H.264 playback, but also DRM support. Now, whether DRM support is a good thing or not… You’ll have to decide that for yourself. I’m not supportive of DRM content on the web, but if you want to view or listen to such content, you can!

Just one last word of warning though: Adobe has ended their support for XP with a reason, as the Primetime content decryption plugin has shown problems and instabilities on XP! I’ve been using this for about a week now, and I’ve had one case of a video getting stuck, which is a typical symptom of Primetime throwing up on you. Don’t worry though, Firefox won’t crash. Just move the video slider a bit or restart the video, and it’ll work again! You don’t even need to restart the browser, and such occurrences seem to be quite rare, so I’m fine with it.

There you go!

4.) Thanks

Big thanks fly out to [the guys at MSFN] who came up with all of this. I basically got 100% of my information from them, so thank you! You rock! :)

Update: If you update your version of Firefox to the latest and final 52.0 ESR (extended support release), the last version which will be officially supported until 09-2017 for XP, you might notice that Adobe Primetime just disappeared after the update. That’s because the installer may delete the property media.gmp-eme-adobe.visible from your prefs.js. To reenable it, you’ll have to manually recreate the boolean property and set it to true:

media.gmp-eme-adobe.visible		true

Restart Firefox after the change, and the plugin should reappear on about:plugins and about:addons!

Update 2: It seems there is an issue with fresh installations of Adobe Primetime when using Firefox 52.x ESR instead of Firefox 51.x ESR, as reported by [Newb the Newbd]. The solution is to open the URL about:config in Firefox once more and look for media.gmp-manager.url. Its value should look something like this: https://aus5.mozilla.org/update/3/GMP/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/update.xml. Edit that configuration option and replace the variable %VERSION% with the string 51.0 to fake an older Firefox version. Now check for updates for Adobe Primetime in the plugins section of about:addons. It should install and start working properly now!

CC BY-NC-SA 4.0 How to make HTML5 H.264/AVC video work on Windows XP/XP x64 (using Firefox) by The GAT at XIN.at is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

  70 Responses to “How to make HTML5 H.264/AVC video work on Windows XP/XP x64 (using Firefox)”

  1. This tutorial is great! See this video. But Chrome natively supports H.264 on Windows XP (at least HTML5 videos worked without manipulating my OS or browser). But I have a problem, a protected DRM video does not play through Horizon.tv (similar to Netflix). Would anyone know to advise me? Complete video test on Horizon.tv with console reports on WinXP. The joke is that this service has worked from March through Chrome, but it’s no longer since October. Thanks! :)

    • Hello Brano,

      I’m aware that Adobe PrimeTime is supposed to give users not just H.264/AVC playback capabilities, but also DRM support (similar to Google Widevine in Chrome).

      PrimeTime DRM seems to be mostly broken by now, and unfortunately I’m not exactly sure why. Maybe it’s because of certain websites asking for different, newer encryption ciphers or something, I don’t know. If you check out [this test], it shows MPEG-DASH working with Apple HLS AES 128 on XP. But most commercial services won’t play their stuff anymore, and I assume it’s because of the aging cryptographic implementation in Adobe PrimeTime 17. Firefox has switched to Google Widevine for its DRM-providing library by now as well after all.

      Maybe the older Widevine in Chrome versions for XP also lacks certain cryptographic implementations to still be able to play all contents? It’s just baseless assumptions, but I don’t know what else would be the cause. The best thing would be to get a modern Widevine library to run on XP… but that’s maybe not so easy.

      Oh and I’ve looked at the second video as well, but the logs don’t tell me anything I could make something out of. Also, some lines I can’t read because of the language barrier (I’m literate only in English and German).

  2. Just to say, you’re a genius! Instructions I understood, and followed, and it flipping works! Thank you very much for making up for the deficiency that somehow found it’s way into Mozilla. Thanks, thanks, many thanks!

    I might explore this site more…

  3. Awesome tutorial ! Been struggling with a solution for this for ages. Thanks so much :)

  4. thrawn, it goes to your credit that you’re quite upfront about originally getting most of this information from MSFN, but I think you should also consider proactively letting the guys over there know about the workarounds they haven’t discovered yet, such as the OpenH264 folder trick. I think cooperation like that would benefit even more people.

    • Hello VF,

      It hasn’t even occurred to me to report back on the MSFN thread actually. Mostly because the additional tricks weren’t discovered by myself either, as other users commenting here have came up with them! Maybe I’ll take the time and compare the current state from MSFN with what was published here. I’d also need to give the individual users credit then. ;)

      I won’t promise anything though, as I’m actually a pretty lazy bastard these days. :roll:

      • I didn’t mean you should put in huge effort but like you could just mention that people have posted more workarounds here and give your link. I get it, I’m also lazy to join there but I thought you’re maybe a member already.

        • Aah.. well, I actually am, as I’m posting in the New Moon thread as well, even though my user account at MSFN is very new. I just wanted to thank the guy who did the Pale Moon ➪ New Moon port over there, roytam1 is his name.

          I’m probably still going to assemble the information from here and post it over there directly, instead of just linking to it, maybe next week. Don’t wanna make it look as if I’d be advertising my own website. ;)

  5. What about people who use Windows XP 32bit? Isn’t there an easier way to get html5 videos to play on websites?

    • Hello Michael,

      The modifications apply to both XP 32-bit as well as XP x64! It’s the same browser anyway, as Firefox ESR only comes in a 32-bit flavor on Windows (for now), whether you’re running 32-bit or not.

      However, if this hack is too complicated for you, may I recommend [New Moon] to you as well, like I have to [Thomas]? It’s a port of the Pale Moon browser which itself is a fork from an older version of Firefox.

      Getting VP8/VP9 and H.264/AVC videos play in HTML5 is really easy and also pretty fast with New Moon, as it relies on ffmpeg/libav instead of Adobe PrimeTime. Instructions to get it working can be found at the link above, it’s really easy, and New Moon is much faster as well. It does have the old, classic user interface though (Some people like that, some don’t). ;)

      Major drawback: It doesn’t and will never support the new WebExtensions. So you’ll get fewer original Firefox extensions to work than you would on an actual Firefox ESR. Some have been [ported over] to Pale Moon though. Besides that, some Extensions that are now WebExtensions can be downloaded in older versions for Pale Moon / New Moon, if that’s acceptable for you.

      Hope this helps!

  6. You advise manually putting properties in the about:config list as if is was just a mater of typing them in but I cannot find a way to so this.
    Your descriptions are excellent up to that point and then you seem to assume that adding elements to the about:config list is just a mater of typing it in. It aint so. It seems to require insider knowledge. This surprises me because of how well you seem to understand the problem (cant watch html5 content).

    • Hello savage,

      It is pretty much just a matter of typing them in. ;) But let me show you step by step:

      First, enter about:config into Firefox’ address bar, then press <enter>. That’s where you should receive the warning “This might void your warranty!”. Confirm the “I accept the risk!” part, and you should see the list of preferences and their values.

      To add a new preference, right-click anywhere in the list of preferences and values and pick “New”. You’ll be presented with a choice of three data types: “String”, “Integer” and “Boolean”. “String” means just text, “Integer” means integer numbers and “Boolean” means binary true / false values.

      What you may need to add here are “Boolean” preferences, so pick that one. It’ll ask you to “Enter the preference name:”. Here’s where you key in something like media.gmp-eme-adobe.visible. After that it’ll ask you to “Enter boolean value:”. For the examples above, the correct choice is true.

      Also: To edit an existing preference, just double-click it!

      That should do the trick! :)

  7. Silly question. I am running Win XP and FF 50.4.0 (32 bit) but don’t see:

    media.gmp-eme-adobe.enabled true
    media.gmp-eme-adobe.forceSupported true
    media.gmp-eme-adobe.visible true
    media.gmp.decoder.enabled true
    media.eme.enabled true
    media.mediasource.mp4.enabled true
    media.mp4.enabled true

    Please advise.

    • Sorry, that’s FF FF 52.4.0

      • Hello Victor,

        From the top: Open FF and visit the URL about:config, click on “I accept the risk”. Then start typing one of the field names in the search field on that page, and it should show you proper results below.

        It’s normal that some of those don’t exist yet. If they can’t be found, just create them; Right-click into a free space on the page, and select “New \ Boolean”. Enter the missing field name – like media.gmp-eme-adobe.enabled, and make sure it’s set to true. At least some values like media.mp4.enabled should already be there, though.

  8. Hats off to you Sir. Worked perfectly on my FF52.3.0 ESR and I can see HD again. I needed to do the 51.0 bit as well.
    Tom

    • Hello Tom,

      Although I didn’t really come up with anything by myself, most of it is from the MSFN board, and the rest has been solved by the people commenting here. :) Seems like the %VERSION% => 51.0 change is really necessary in all cases for fresh installations of FF 52.x now.

  9. Hey thrawn. It’s really great that you put so much effort in this project and im pretty shure you are helping a lot of people. I was also looking for a solution for this problem and thought that now i have found one, or you have found one. I made everything as you described, sadly when i visit the quirksmode page it says that the primetime plugin crashed. its the same with some other players and some youtube videos.

    Maybe somebody has an idea, or had the same problem?

    • Hello Ulrich,

      Hmm, I’ve had Primetime crash before, but only very, very rarely, haven’t seen any crashes in months. The Quirksmode test page still works for me as well (Firefox 52.3.0).

      You say it’s only “some” videos that are causing this? Do you still have Adobe Flash installed as well? And could you post what the [Youtube HTML5] page reports?

      • Hello, thx for replying.

        Today i tried a couple of vids on youtube and everything went fine. The youtube HTML5 page has all checks.
        I have installed Flash Player 27.0.0.

        But again on the Quirksmode test page and on another page, when i want to watch a video, it says that primetime crashed.

        Could it be a problem that i first created the gmp-eme-adobe folder and afterwards i updated Firefox 47 to 52??

        Maybe i should deinstall firefox and go through the procedure again?

        • To be honest, people have been reporting issues when updating Firefox (including myself, although my issue was minor, as you can see in the article), but also when setting this up using the latest version 52 of the browser. It should be fixable in any case though!

          You could try to uninstall FF, and attempt a fresh installation of 52.3.0. However, to make it work in that scenario, some people had to “smuggle” the plugin in right under Firefoxes’ ass, by replacing Ciscos’ OpenH264 WebRTC plugin with it. The solution has been described in two comment threads right here: [1] and [2]. Another user has reported the plugin breaking because of the media.gmp-manager.url property value in about:config (also seen in the threads I just linked to). Replacing %VERSION% with 51.0 before checking for plugin updates worked for some users.

          So yeah, it seems that this can be tricky to get working, depending on your exact software setup. :( I just haven’t really tested all the possible scenarios, like fresh installations of newer versions or updating from versions older than the one I started with, etc.

  10. tanks fron brazil!!!

  11. Hello, I come across to your web page by accident and would like to record my sincere thanks for helping me to play html5 video on my xp system using firefox 51.0.1 I can’t say how happy I am finally able to play html5 video after much frustration!

  12. BEAUTIFUL JOB explaining the mod, worked for me the first time (after manually enabling the dll and getting past “shortly”). WinXP32SP3. Held out with Youtube Flash for as long as possible then a lot just went dark. Been looking for awhile now… for me getting H.264 working was “the last straw”. For most people that means giving up but for me it means something different… it was the “last straw” required to get my XP32SP3 running with everything I need it to run… so I can go ANOTHER TEN YEARS without having to join the post-XP MSFT ‘F’ U Choo Choo (though I will try 7×64 on another machine and might migrate to it). I use a Win10 laptop for work and detest it.

    • Hello HocusLocus,

      “Another ten years” might be a bit too much I guess. ;) But I do share your resentment towards Windows 10, I have a Convertible set up with Win10 myself, and I do hate it (the OS, the machine is somewhat ok).

      Luckily, at work I’m in contact with Linux machines mostly, so customizing the GUI and its workflows is easier. Also, I do give users the opportunity to pick an environment of their choice, so everybody can feel a bit more “at home”. I do have to take care of a bunch of Win7 machines as well, but only for administration, so it’s fine.

      Personally, I’m still planning to migrate to some Linux or a BSD UNIX when the time comes to finally drop XP x64. Although I’ll likely keep an extra machine set up with modern MS Windows, just in case I go back to playing some games.

    • Thanks to all for their contributions to this thread. If you are able to make this work please help your family and friends who think they need to dump their XP machine for a new one that plays their favorite videos. The clear instructions here worked for me on XP Home v2002 SP3 with Firefox 52.3.0 and no doubt would save many otherwise perfectly good Windows XP PCs from being sent to the recycling bin.

      • Hey Kyle!

        I hadn’t even looked at this whole thing from that point of view. Usually, for my family, I’d just give their old machines a Linux distribution as slim and classic as possible. Then they can have all the modern software they want (for accessing the web).

        But hey, if this guide can save a few old PCs, then it’s a good thing, as long as those machines don’t turn into spambots because of some malware. ;) I would’ve just thought that people would rather install a new or different OS instead of throwing away the entire machine?! But I guess that’s not how people do it nowadays? :roll:

  13. THX alot for the info’s here..
    updted my win-Xp with fireox and my notebook with FirefoxPortable
    update your FirefoxPortable to 52.3.0 (today)
    then, here the path is C:\Programme\FirefoxPortable\Data\profile\gmp-eme-adobe\17\
    with the three files, see above…
    i’m german, so the path is a bit different, mybe Programme = Programs ; and change driveletter you have…
    and make sure on FirefoxPortable profile folder is here not “profiles” only profile …
    it works here, so i have all seven blue checkboxes ok, with white hook’s in…
    thanks again.. nice info..

    • oh i forgot:
      – update firefox with internal update-button..

      – the seven checkboxes are here: https://www.youtube.com/html5

      • Hey Rio71,

        So you had an older version before 52.3.0, and updated to the latest ESR version? In that case it usually works fine. It seems that the people who have had some trouble with this solution were the ones who did a completely fresh installation of Firefox 52.3.0.

        Gosh, I didn’t even know that there was a portable version of Firefox…

  14. Thank you very much. I’m forced to use my old PC which only runs Win XP and this is working perfectly for me. I just wonder how long :P

    • Hey Arkunos,

      Who knows… But chances are it’s gonna work for at least a few years, as long as there are no significant changes to the codec suite currectly supported by HTML5 <video> and <audio>. Currently, we have stuff like H.264/AVC, Theora VP8/VP9, AAC-LC, mp3, FLAC, all of which are supported.

      The bigger problem will be DRM protected video, like on Netflix, Amazon Prime etc. Adobe PrimeTime is supposed to handle all that just fine, but it seems that it’s mostly broken on Windows XP. Maybe because XP is not a trusted operating system or something. So you shouldn’t count on any DRM video or audio to work with this solution. :(

  15. Hey, just followed your guide and the video works great but no audio :///
    any idea where i can tinker to try to get audio on again ?

    • Hello bemarchiori,

      Unfortunately, I have no idea. There are a variety of possible reasons for this, like Firefox being [specifically muted] by the Windows volume mixer, a graphics cards’ HDMI audio interfering (you could try to hook up a TV to the graphics card via HDMI to see whether it plays the sound), or some part of your speaker configuration being [incompatible] with the HTML5 implementation of Firefox.

      Another issue might be that for some reason Firefox fails to play back certain audio encoding formats like maybe .mp3 or .opus or something. To test whether all formats work, you can try them [on this website]. If you can single out a specific audio format that doesn’t work, it’ll make debugging easier.

      I don’t have any experience with audio problems in the browser myself however, as it just works™ for me, so it’s hard to say. You could also try and look at the about:config directives dom.webaudio.enabled, dom.audiochannel.mutedByDefault or media.mediasource.webm.audio.enabled, but that’s just me reading the tea leaves…

  16. Hey Mr. Thrawn. Many, many thanks for your help. In my Windows XP SP3 PC html5 videos work fine after changes according to your instructions. Best work of you. Beautiful. I’d like to add that I had (in about:config) to replace %VERSION% in media.gmp-manager.url to 51.0 before checking for updates, as Newb in his comment remarks.

  17. Huge thanks for this tutorial! It solved the problem of getting H.264 to work in Firefox for me. I’d like to note that if one is freshly installing Adobe Primetime in the latest version of Firefox ESR, they have to replace %VERSION% in media.gmp-manager.url to 51.0 before checking for updates. Then the update will work and H.264 will start working fine.

    • Hey Newb ( :roll: ),

      Thanks for the advice regarding fresh installations on newer versions of FF! :) I usually never check that stuff out, because I just keep my existing machines and VMs running, rarely setting up a new XP or XP x64 machine these days…

    • Hello everyone,
      One of my XP machines stopped playing HTML 5 Youtube videos a week or so back, I thought it
      was specific to that machine, then a second XP machine stopped just this evening August 9, 2017.
      So after much searching through various resources and trying a number of Firefox add-ons, I wasn’t
      having a lot of luck until I hit this page, hence the reason I’m posting a follow up here. My XP Firefox
      version is the latest 52.3.0 and the fix that worked for me was two fold, the first part I’m not sure was
      required, but I like what worked out so I’m very happy to be able to see HTML 5 Videos with Firefox
      on an XP 32 bit machine.

      First I uninstalled Adobe flash, required to upgrade it to the latest as just posted on the below
      SDFOX7 web page (thank you very much!) “Adobe Flash 26.0.0.151 has been released. Tested
      and working on Windows XP SP3”

      Old version uninstaller: https://fpdownload.macromedia.com/pub/labs/flashruntimes/flashplayer/uninstall_flash_player.exe

      http://fpdownload.adobe.com/get/flashplayer/pdc/26.0.0.151/install_flash_player.exe

      http://www.msfn.org/board/profile/395182-sdfox7/

      At this point you should have the latest verified XP Adobe Flash Player Installed.

      I then chased down the H.264 information to learn about HTML5 video support in Firefox on
      Windows XP using the Primetime Content Decryption Module plugin by Adobe (distributed
      by Mozilla). You can download the mentioned from a URL link provided in the article on the
      below web page.

      http://www.msfn.org/board/topic/175591-enable-mp4-h264-aac-html5-video-in-firefox-on-windows-xp-without-flash/

      I followed the instructions to install and activate the plug in per the above web page.

      To install the plugin:
      Open your FF profile folder. An easy way to navigate to it is by opening about:support in FF
      and clicking the Open Folder button next to Profile Folder.
      Inside the profile folder, create subfolder gmp-eme-adobe and open it.
      Inside gmp-eme-adobe, create subfolder 17 and open it.
      Unpack the Primetime ZIP archive into folder 17.

      Which of course didn’t work as described… then using some information from this web page I
      simply moved the above extracted and installed (as directed above) adobe folder contents in
      to the existing gmp-gmpopenh264 1.6 folder after moving the original 1.6 folder contents to a
      same directory new folder of 1.6a.

      Restarted Firefox, done, works great!

      Might not be the most practical solution, but I’m all about what works well for me. Hope you
      have the same results.

      Cheers,

      skipp

      skipp025 at ya who period calm

      No_Worries

      • Hello skipp025,

        Interesting, so you’re the second person to place PrimeTime into gmp-gmpopenh264\1.6\ instead of gmp-eme-adobe\17\ and get it working like that.

        Still sounds a bit wrong to me to “abuse” Ciscos’ OpenH264 folder like that, but if it works… Yeah, why not. I still have it sit in the gmp-eme-adobe\17\ folder with everything working fine, so I’ll just leave it like that. Oh, and I’m on Firefox ESR 52.3.0 by now.

        Nice boat btw. ;)

      • your html5 install worked, but its still playing in 360 for the most part.
        is there a way to get all videos to hd? of course i also am using firefox in xp 32 bit as well…

      • now, even after installation and placing it in folder 1.6, i came across a youtube video with the old “your browser does not currently recognize…”
        sad day :(

  18. No way… I’ve just follow all your instructions, but, at the end always appears a notice saying that Primetime it’s going to be “installed shortly”.
    If I click on “check updates”, then in: \Mozilla\Firefox\Profiles\\ appears a new folder “gmp-gmpopenh264”>1.6 containing “gmpopenh264.dll” and “gmpopenh264.info”

    My current Firefox version is 51.0.1, and using Windows XP (32bits) now. Please, can you help me? Any idea would be good! Thanks.

    • Evening, Pierre!

      Well, since I’m pretty drunk right now, I’d rather refrain from trying to solve this for you at this time. ;) Maybe I’ll look into it tomorrow. Seems like you just need to quit FF and install the files manually though, hm. The openh264 stuff is completely useless anyway (it won’t decode Streams, it’s for WebRTC only)…

      Ah, I’ll look into it tomorrow, if I have the time… ‘yasumi…

      • I have solved it myself; after click in “check updates” (about:addons> Adobe Primetime) FF automatically creates me “gmp-gmpopenh264” folder.
        I’ve downloaded your “gmp-eme-adobe” files, and changed “17” to “1.7”! Then I’ve put it inside “gmp-gmpopenh264” folder, click again in “check updates” and… Voilà! Everything works now.

        You’re a fantastic person! Thanks for being willing to help me… Your website is great!

        • Hoh… That’s an… interesting way to make it work. I mean, I do have OpenH264 installed, but in that folder, there are only the Cisco OpenH264 files, as one would expect. There are two folders:

          %USERPROFILE%\Application Data\Mozilla\Firefox\Profiles\\gmp-gmpopenh264\1.1
          %USERPROFILE%\Application Data\Mozilla\Firefox\Profiles\
          \gmp-gmpopenh264\1.6

          Each folder contains two files, gmpopenh264.dll and gmpopenh264.info. When opening the latter in a text editor, it shows this (e.g. for the 1.6 version):

          Name: gmpopenh264
          Description: GMP Plugin for OpenH264.
          Version: 1.6.0
          APIs: encode-video[h264], decode-video[h264]

          So this clearly doesn’t have anything to do with Adobe Primetime. It seems you got PrimeTime to load from within Ciscos’ OpenH264 folder? Sounds reeeally strange, but if it works… should be fine I guess. ;)

          By the way, the info file for PrimeTime – eme-adobe.info – shows this:

          Name: Primetime Content Decryption Module provided by Adobe Systems, Incorporated
          Description: Provides support for playing back protected web video
          Version: 17
          APIs: decode-video[com.adobe.primetime:h264], decode-audio[com.adobe.primetime:aac], eme-decrypt-v7[com.adobe.primetime]
          Libraries: dxva2.dll

          Heh, both say that they support the decode-video[h264] API, I wonder why we can’t use Ciscos’ stuff to just decode H.264/AVC on Youtube or elsewhere…

          • At first, thanks for this great guide! Running it on the ever worsening Firefox bloatware in it’s V45.9 decline (as my CustomButtons scripts are – what else – broken again with higher versions), I would like to add the cause for this “check updates” message. As stated above, the eme-adobe.info demands the dxva2.dll HW acceleration library, usually located at Windows\System32. If not available, f. i. while restraining web access to a VM, the browser seems to wait for it. So just delete that line from the info file and the plugin will load fine.

            Hope this helps some people who are also not willing to throw many years of xp experience, customization and all the paid progs to the bin :-)

            • Hey Thomas,

              Ah, interesting, thanks for that! Of course, XP only comes with the older DXVA1. Off-topic: I’m extremely happy that the MPC-HC media player supports it for hardware acceleration on XP. ;)

              On a side-note: I’ve dropped Firefox for now, and I’m going with a fork of it: “New Moon”. That in itself is a Windows XP-specific fork of Pale Moon in its latest version. You can find New Moon [here]. There are 32- and 64-bit builds for both classic Windows XP NT 5.1 and XP x64 / Server 2003 NT 5.2 (I’m using the 64-bit one).

              It doesn’t bring some of Firefox’ features to the table (like Electrolysis or Web Extensions), so there are a lot of extensions it can’t handle. Some have been [ported over] though.

              My primary reason for switching: Pale Moon / New Moon is just much faster, less bloated! And it may outlive Firefox ESR 52 on Windows XP, security-wise. Maybe you want to look at that browser as well. HTML5+H.264 is even easier with New Moon than it is with Firefox, as it relies on ffmpeg/libav libraries to play back H.264, much like some Firefox installations on Linux do. :)

              • Sorry to say my conclusion regarding dxva2.dll isn’t true, it also works with this default entry.

                The message “will be installed shortly” appears to wait for its update-check as described at msfn. If the about:config preference media.gmp-manager.url is emptied, this update-check just never happens. Filling in https://aus5.mozilla.org/update/3/GMP/46.0/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/update.xml (note version 46.0 – using 45.9 while running v45.9 didn’t work) and clicking the check for updates link removes this “installed shortly” message after a few seconds and YT confirms all six formats.

                As I prefer web-connections only via virtual machines their performance won’t be sufficient for HD SW-decoding and I just download them for host playback with, yes, MPC-HC and DXVA on embedded nVidia chipset- or AMD A10-graphics :)

                Didin’t know of New Moon and felt quite uneasy to switch to other mainstream browsers by now, so this sounds great! Wouldn’t need Web Extensions with another set of broken addons and multi-processing may be of no avail on VMs. I surely will give it a try in time, thanks for the hint.

  19. Thank your for the article, I just follow the instructions and have remotely fixed my father’s old XP computer.

  20. Wasn’t adobe primetime removed for some reason? I do remember reading about it being already old hat, or something.

    • It’s been replaced with Google Widevine recently for Firefox as well, yes. My version 53.0.2 on Windows 7’s already using it. Problem is, Widevine just won’t work on Firefox 52 ESR on XP x64, and I have no idea why. I even checked the headers of the widevinecdm.dll, but it says it’s compiled for NT5.1, so XP 32-bit. No idea.

      FireFox 52 ESR still comes with Adobe PrimeTime on Windows anyway, and it’s the only solution I know of that’s working at all. Just needs a bit of persuasion to load. Maybe somebody can shed some light on why Widevine refuses to run? My FF configuration on about:config is identical on both Win7 and XP x64 and it’s the same Widevine version as well… Maybe Widevine just refuses to load in FF 52 ESR?!

      • I really don’t think my 52 ESR came with adobe primetime. I’d have to check a fresh-installed pc-for-home, because my settings at work turn off all that drm.

        There was no XP x64 N version, otherwise I would look there. XP N was great, but W7 N has stupid issues. You can’t install the windows mobile sync software because of missing media shite. Great. Netflix doesn’t work in firefox because of missing media features.

        Have you tried this program? http://www.dependencywalker.com/
        I uhhh, I don’t have any XP x64 in the house any more. I replaced my computer at work just two weeks ago. Some things are better, some things just suck with W7. And W7 is even hard to install with a recent motherboard. Only xhci (usb3), nvme drive, etc.

        • I’ve used Dependency Walker before, but not for this problem, no. I probably should, huh?

          Also, it might be that FF52 ESR didn’t come with Adobe Primetime, but it can be downloaded independently and made to work with the browser just fine. Huh, guess I should’ve provided a download link for that, eh? Well, it’s almost 1am now, so… no! ;)

        • Hey again,

          Alright, I ran the 32-bit widevinecdm.dll through both the 32-bit as well as the 64-bit Dependency Walker in version 2.2.6000 on Windows 7 x64 (where Widevine works) as well as XP x64 (where it does not). I am using a 32-bit version of Firefox on both systems and as said, the FF configurations related to Widevine are identical. The XP x64 version of FF also has Adobe Primetime up and running, which shouldn’t hurt.

          I’ve exported the outputs as .dwi images as well as .csv files for you to read, and I’ve also attached the Widevine library I’m using for this, it’s version 1.4.8.903. Here are the files:

          In essence, what I got was this:

          Windows 7 x64 SP1:

          Missing files:

          • API-MS-WIN-CORE-WINRT-ERROR-L1-1-0.DLL
          • API-MS-WIN-CORE-WINRT-L1-1-0.DLL
          • API-MS-WIN-CORE-WINRT-ROBUFFER-L1-1-0.DLL
          • API-MS-WIN-CORE-WINRT-STRING-L1-0.DLL
          • DCOMP.DLL
          • GPSVC.DLL (Only with 32-bit DW)
          • IESHIMS.DLL

          Errors & warnings:

          Error: Modules with different CPU types were found. (Only with 64-bit DW)
          Warning: At least one delay-load dependency module was not found.
          Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.

          Windows XP Professional x64 Edition SP2:

          Missing files:

          • DEVMGR.DLL (Only with 32-bit DW)
          • IESHIMS.DLL
          • WER.DLL

          Errors & warnings:

          Error: Modules with different CPU types were found. (Only with 64-bit DW)
          Warning: At least one delay-load dependency module was not found.
          Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.

          Maybe you can make something of all this?

          • I thought you were the expert :-p

            Almost every file I tried is missing the ieshims.dll, so that’s probably nothing. I don’t think there’s anything missing on this level. It could be loads of things. Loose guesses: DirectX 9, .net lamework 3.5 (only needed for the evr.dll, that enhanced video renderer). Uhm, not a great help, eh? ;-)

            • Pfh, no idea. It seems Win7 is missing even more stuff than XP x64?! ;)

              Well, DEVMGR.DLL is a library for accessing the Windows device manager, not sure why Widevine would want that?! Maybe to look for a GPU / hardware video decoder? The weird thing: My VM doesn’t have that file, but my native XP x64 workstation does. I just copied it over, and DW now doesn’t report it as missing any longer, but its a bitness mismatch. I only seem to have a 64-bit version of this library, nothing in %WINDIR%\SysWOW64\.

              Ok, so I copied it from a 32-bit XP / POSReady2009 machine, and put it right next to widevinecdm.dll, which stops the complaining. Links properly it seems.

              Still, that didn’t do the trick at all. The other two libraries are for Internet Explorer shims and Windows error reporting for Vista+, and one of them depends on ncrypt.dll which itself depends on bcrypt.dll, both of which require API functions simply not present on XP / XP x64 (I just tried it with the 32-bit Vista DLLs). And WER.DLL is the same. The whole modern error reporting system just isn’t there after all.

              And here’s where I’m gonna stop, I think that’s a really good point to stop trying! ;) :roll:

            • Hmm, instead of the Widevine Content Decryption Module I tried the Widevine Media Optimizer instead, from the [Widevine website], accessing the site with FF on Windows. Since the codesigning signature of the plugin is somehow not right, you can’t install it (Firefox says it’s “corrupted”) right away, but that can easily be circumvented. By changing the following flags on about:config, as shown:

              xpinstall.signatures.required  [boolean]  false
              xpinstall.whitelist.required   [boolean]  false

              With those set to false, the Widevine Media Optimizer can be installed from there, and its npwidevinemediaoptimizer.dll does load, showing version 6.0.0.12757. But it doesn’t seem to play any H.264/AVC at all, nor will it decrypt any HLS or MPEG-DASH stuff (which PrimeTime partially can do on XP). I’m not even sure what it is that it’s doing. It’s supposed to support video playback as well, but I dunno… No luck with that either.

  21. Is there also a way to activate Google Widevine CDM in firefox on Windows XP?

    • I haven’t found any yet. The XPI extension from [Widevine] itself just fails to install because it’s too old, and Google never allowed the installation of Widevine on XP in the first place, at least not to my knowledge. I do not know if the plugin really contains code that won’t work on XP, but yeah… What I tried was this:

      • Download a later Widevine version from Mozilla: [Source]. (version 1.4.8.903)
      • Unpack the files into %APPDATA%\Mozilla\Firefox\Profiles\\gmp-widevinecdm\1.4.8.903\, creating the folders that do not yet exist along the way.
      • Set up the following properties on the about:config page:
        • media.gmp-widevinecdm.abi [string]      x86-msvc-x64
        • media.gmp-widevinecdm.enabled [bool]    true
        • media.gmp-widevinecdm.lastUpdate [int]  1485441970
        • media.gmp-widevinecdm.version [string]  1.4.8.903
        • media.gmp-widevinecdm.visible [bool]    true

      All to no avail unfortunately. I never got that widevinecdm.dll to load and show in Firefox… :( Maybe I’m just doing something wrong, not sure…

  22. Thanks a lot! Works great with FF 47 (32 bit) on XP64.

    • Hello nnm,

      Ah yes, from what I heard, FF 47 was the first to have unofficial support for Adobe Primetime. Good to see I wasn’t mistaken regarding that. But: I didn’t come up with that solution, so no need to thank me. Thank the guys at [MSFN]! :)

      By the way, out of curiosity, how did you find my post? This shouldn’t be ranked highly in any search engine or anything…

      • Found by googeling on firefox and XP64, then I’ve seen the title in “Recent Posts”. I tryed and to my surprise it just worked. I was looking for a solution for this problem for long time. Until now I was using Greasemonkey scripts to convert video tags to embed, but was error prone, and plugin support will be gone soon.
        Anyway, great site, bookmarked since I have no intention to upgrade to Windows 10.

        • Ah, I see.. I guess Google does give different kinds of results to different people. Well, I’m always happy to help! :)

          I’ll continue using XP x64 myself for a while (My workstation will never see a Windows 10 installation), besides the Linux and UNIX OSes. So everytime I discover something useful, I’ll share it here. Even if it’s actually somebody elses’ discovery. :P

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre lang="" line="" escaped="" cssfile="">

(required)

(required)