Closed Bug 1265320 Opened 8 years ago Closed 2 years ago

[Widevine] HBOGO.RO videos try to use Silverlight instead of Widevine CDM

Categories

(Core :: Audio/Video: Playback, defect, P3)

x86_64
All
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox48 --- affected
firefox50 --- affected
firefox51 --- affected
firefox52 --- affected
firefox53 --- affected

People

(Reporter: VladB, Unassigned)

Details

Attachments

(4 files)

Attached image screenshot
[Affected versions]:
- User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:48.0) Gecko/20100101 Firefox/48.0
- User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:48.0) Gecko/20100101 Firefox/48.0
- Build ID: 20160417030601

[Affected Platforms]:
- All Windows
- All Mac OS

[Prerequisites]:
- Widevine latest version is installed.
- Only Widevine CDM plugin is active.
- User-Agent Switcher add-on is installed (https://goo.gl/FKb70f) and it is set to fake Chrome User Agent.

[Steps to reproduce]:
1. Start Firefox browser and go to http://www.hbogo.ro/group/free .
2. Click on "Play" button for any video.

[Expected results]:
- Video starts playing through Widevine.

[Actual results]:
- Start screen with disclaimer is displayed for a few seconds and after that the home screen is displayed.
- Video will not start.

[Note]:
- With Chrome the video starts without any issues.
No longer blocks: widevine-uplift
Does it work with media.webm.enabled=false ?
Hi,

I've just tried the same scenario with media.webm.enabled=false and the issues is still reproducible. Nothing has changed in the behavior of the video player.

Thank you.
Is anything interesting being logged to the console?
Reproduce this issue on latest Nightly 49.0a1, Build ID 20160512030253 on Windows 7. Following is logged on browser Console:

<unavailable>
URZEALA TRONURILORSEZONUL 6

 / EPISODUL 1
no element found
CastLab play URZEALA TRONURILOR
<unavailable>
TypeError: Z.mediaPlayer is undefineg

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://ropush.hbogo.eu/message.svc/Connect/xml. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
Mass change P2 -> P3
Priority: P2 → P3
Attached video video player error
User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0

I've retested this issue on Win 10 and Win 8.1 with latest Nightly (Build ID: 20161030030204, x64 and x86) using Widevine CDM 1.4.8.903 and when I press "Play" button from the video/episode page, the screen with the licence rights is displayed and after that, I am notified to enable/install Silverlight plugin.

This is the log from the Browser Console:

==================================
Player.getBandwidth exception ... silverLight.player.js:263:13
Object { LiveChannelId: "00000000-0000-0000-0000-000000000000", Abstract: "With ten episodes slated for Season…", AdvisoryFlags: Object, AgeRating: 18, Availability: null, AvailabilityFrom: "10/03/2016", AvailabilityFromUtcIso: "2016-10-03T01:00:00Z", AvailabilityTo: "04/03/2018", AvailabilityToUtcIso: "2018-04-02T21:59:00Z", BackgroundUrl: "http://level3cdn.hbogo.eu/4bcf1c3e-…", 46 more… } ... HBO.min.js:1:229904
WESTWORLDSEASON 1 / EPISODE 1 ... HBO.min.js:1:229919
12:04:35.546 XML Parsing Error: no root element found
Location: https://roapi.hbogo.eu/v5/PlayerEvent/COMP/2ff2f026-2b82-42ad-a291-36fe82778fd2/772dcfe8-c72a-4f36-a43b-df7138554441
Line Number 1, Column 1: ... 772dcfe8-c72a-4f36-a43b-df7138554441:1:1
audioTracks: ... HBO.min.js:1:60465
Array [ Object ] ... HBO.min.js:1:60493
hidePlayer error: TypeError: document.getElementById(...).Content is undefined ... HBO.min.js:1:47110
leave fullscreen ... HBO.min.js:1:93343
deactivateChromCastMode: ... HBO.min.js:1:243320
XML Parsing Error: no root element found Location: https://roapi.hbogo.eu/v5/Position/COMP/772dcfe8-c72a-4f36-a43b-df7138554441/4bcf1c3e-3bad-4489-947c-135c71142d52/0?_=1477907323050
Line Number 1, Column 1: ... 0:1:1
==================================

This issue is reproducible also when faking Chrome User Agent with User-Agent Switcher, with Chrome browser the video can be played without any problems.
This issue is still reproducible. Are there any updates on this issue?

From Nightly v52 the NPAPI plugins except Adobe Flash are no longer loaded. This includes also Silverlight, which is required in order to play videos from HBOGO.

In Google Chrome this issue is not reproducible.
Flags: needinfo?(cpeterson)
Flags: needinfo?(ajones)
cpearce, do you know why HBOGO.ro would still try to use Silverlight when Firefox is spoofing the Chrome User-Agent? HBOGO.ro uses Widevine in Chrome.
Flags: needinfo?(cpeterson) → needinfo?(cpearce)
Summary: [Widevine] HBOGO.RO videos do not play through WidevineCDM → [Widevine] HBOGO.RO videos try to use Silverlight instead of Widevine CDM
By default User Agent Switcher spoofs a version of Chrome that supports a version of EME incompatible with our implementation. Try spoofing Chrome 55.
Flags: needinfo?(cpearce)
Flags: needinfo?(ajones)
User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0

Using latest Nightly v54.0a1 (Build ID: 20170212030213) I've spoofed Chrome/56.0.2924.87 in User-Agent Switcher add-on and the videos cannot be played. The videos cannot be played in latest Firefox release and latest Nightly with or without User-Agent Switcher add-on. 

In Google Chrome all videos are played successfully and without issues.
Flags: needinfo?(cpearce)
Maybe they're not using Widevine modular (i.e. EME), and are instead using the old-fashioned Widevine Chrome plugin. Some streamers in New Zealand do that. I can't play Romanian content. Can you try collecting some NSPR logs for me? You need to set the environment variables NSPR_LOG_FILE=%TEMP%\firefox.log MOZ_LOG=EME:5,GMP:5,CDM:5,sync,timestamp and then repro the bug. Then you need to copy the logs out of the system temp dir.
Flags: needinfo?(cpearce) → needinfo?(vlad.bacia)
(In reply to Chris Pearce (:cpearce) from comment #11)
> Can you try collecting some NSPR logs
> for me?

Here is the log:

2017-02-16 15:55:23.678000 UTC - [Main Thread]: D/GMP GeckoMediaPluginService created; Gecko version=54.0a1 buildID=20170216030210
2017-02-16 15:55:23.678000 UTC - [GMPThread]: D/GMP GMPService::mozilla::gmp::GeckoMediaPluginServiceParent::AddOnGMPThread: C:\Users\vlad.bacia\AppData\Roaming\Mozilla\Firefox\Profiles\mw2z5ple.fwefewfwe\gmp-gmpopenh264\1.6
2017-02-16 15:55:23.678000 UTC - [GMPThread]: D/GMP GMPParent[b5d7c3dc00|childPid=0] GMPParent ctor id=1
2017-02-16 15:55:23.678000 UTC - [GMPThread]: D/GMP GMPParent[b5d7c3dc00|childPid=0] mozilla::gmp::GMPParent::Init: for gmp-gmpopenh264
2017-02-16 15:55:23.678000 UTC - [GMPThread]: D/GMP GMPService::mozilla::gmp::GeckoMediaPluginServiceParent::AddOnGMPThread::<lambda_6da807c638635688969853600e74635f>::operator (): C:\Users\vlad.bacia\AppData\Roaming\Mozilla\Firefox\Profiles\mw2z5ple.fwefewfwe\gmp-gmpopenh264\1.6 Succeeded
2017-02-16 15:55:23.678000 UTC - [GMPThread]: D/GMP GMPService::mozilla::gmp::GeckoMediaPluginServiceParent::AddOnGMPThread: C:\Users\vlad.bacia\AppData\Roaming\Mozilla\Firefox\Profiles\mw2z5ple.fwefewfwe\gmp-widevinecdm\1.4.8.903
2017-02-16 15:55:23.678000 UTC - [GMPThread]: D/GMP GMPParent[b5d7c3f800|childPid=0] GMPParent ctor id=2
2017-02-16 15:55:23.678000 UTC - [GMPThread]: D/GMP GMPParent[b5d7c3f800|childPid=0] mozilla::gmp::GMPParent::Init: for gmp-widevinecdm
2017-02-16 15:55:23.678000 UTC - [GMPThread]: D/GMP GMPService::mozilla::gmp::GeckoMediaPluginServiceParent::AddOnGMPThread: C:\Users\vlad.bacia\Desktop\firefox-54.0a1.en-US.win64\firefox\gmp-clearkey\0.1
2017-02-16 15:55:23.678000 UTC - [GMPThread]: D/GMP GMPParent[b5d7c40000|childPid=0] GMPParent ctor id=3
2017-02-16 15:55:23.678000 UTC - [GMPThread]: D/GMP GMPParent[b5d7c40000|childPid=0] mozilla::gmp::GMPParent::Init: for gmp-clearkey
2017-02-16 15:55:23.896000 UTC - [Main Thread]: D/GMP GeckoMediaPluginServiceParent::AsyncAddPluginDirectory C:\Users\vlad.bacia\AppData\Roaming\Mozilla\Firefox\Profiles\mw2z5ple.fwefewfwe\gmp-gmpopenh264\1.6 succeeded
2017-02-16 15:55:23.896000 UTC - [Main Thread]: D/GMP GMPParent[b5d7c3f800|childPid=0] mozilla::gmp::GMPParent::ParseChromiumManifest: for '{
    "arch": "x64",
    "description": "Widevine Content Decryption Module",
    "manifest_version": 2,
    "name": "WidevineCdm",
    "offline_enabled": false,
    "os": "win",
    "version": "1.4.8.903",
    "x-cdm-codecs": "vp8,vp9.0,avc1",
    "x-cdm-host-versions": "8",
    "x-cdm-interface-versions": "8",
    "x-cdm-module-versions": "4"
}'
2017-02-16 15:55:23.896000 UTC - [Main Thread]: D/GMP GMPParent[b5d7c40000|childPid=0] mozilla::gmp::GMPParent::ParseChromiumManifest: for '{
    "name": "clearkey",
    "description": "ClearKey Gecko Media Plugin",
    "version": "1",
    "x-cdm-module-versions": "4",
    "x-cdm-interface-versions": "8",
    "x-cdm-host-versions": "8",
    "x-cdm-codecs": "avc1"
}'
2017-02-16 15:55:23.896000 UTC - [GMPThread]: D/GMP GMPService::mozilla::gmp::GeckoMediaPluginServiceParent::AddOnGMPThread::<lambda_6da807c638635688969853600e74635f>::operator (): C:\Users\vlad.bacia\AppData\Roaming\Mozilla\Firefox\Profiles\mw2z5ple.fwefewfwe\gmp-widevinecdm\1.4.8.903 Succeeded
2017-02-16 15:55:23.896000 UTC - [GMPThread]: D/GMP GMPService::mozilla::gmp::GeckoMediaPluginServiceParent::AddOnGMPThread::<lambda_6da807c638635688969853600e74635f>::operator (): C:\Users\vlad.bacia\Desktop\firefox-54.0a1.en-US.win64\firefox\gmp-clearkey\0.1 Succeeded
2017-02-16 15:55:23.959000 UTC - [Main Thread]: D/GMP GeckoMediaPluginServiceParent::AsyncAddPluginDirectory C:\Users\vlad.bacia\AppData\Roaming\Mozilla\Firefox\Profiles\mw2z5ple.fwefewfwe\gmp-widevinecdm\1.4.8.903 succeeded
2017-02-16 15:55:23.959000 UTC - [Main Thread]: D/GMP GeckoMediaPluginServiceParent::AsyncAddPluginDirectory C:\Users\vlad.bacia\Desktop\firefox-54.0a1.en-US.win64\firefox\gmp-clearkey\0.1 succeeded
2017-02-16 15:58:25.366000 UTC - [Main Thread]: D/GMP GMPService::mozilla::gmp::GeckoMediaPluginServiceParent::Observe topic='profile-change-teardown' data='shutdown-persist'
2017-02-16 15:58:25.366000 UTC - [Main Thread]: D/GMP GMPService::mozilla::gmp::GeckoMediaPluginServiceParent::Observe Starting to unload plugins, waiting for sync shutdown...
2017-02-16 15:58:25.366000 UTC - [GMPThread]: D/GMP GMPService::mozilla::gmp::GeckoMediaPluginServiceParent::UnloadPlugins plugins:3
2017-02-16 15:58:25.366000 UTC - [GMPThread]: D/GMP GMPParent[b5d7c3dc00|childPid=0] mozilla::gmp::GMPParent::CloseActive: state 0
2017-02-16 15:58:25.366000 UTC - [GMPThread]: D/GMP GMPParent[b5d7c3f800|childPid=0] mozilla::gmp::GMPParent::CloseActive: state 0
2017-02-16 15:58:25.366000 UTC - [GMPThread]: D/GMP GMPParent[b5d7c40000|childPid=0] mozilla::gmp::GMPParent::CloseActive: state 0
2017-02-16 15:58:25.367000 UTC - [GMPThread]: D/GMP GMPParent[b5d7c3dc00|childPid=0] GMPParent dtor id=1
2017-02-16 15:58:25.367000 UTC - [GMPThread]: D/GMP GMPParent[b5d7c3f800|childPid=0] GMPParent dtor id=2
2017-02-16 15:58:25.367000 UTC - [GMPThread]: D/GMP GMPParent[b5d7c40000|childPid=0] GMPParent dtor id=3
2017-02-16 15:58:25.851000 UTC - [Main Thread]: D/GMP GMPService::mozilla::gmp::GeckoMediaPluginServiceParent::Observe topic='xpcom-shutdown-threads' data=''
2017-02-16 15:58:25.851000 UTC - [Main Thread]: D/GMP GMPService::mozilla::gmp::GeckoMediaPluginService::ShutdownGMPThread
Flags: needinfo?(vlad.bacia) → needinfo?(cpearce)
There weren't any other log files there from the content process or plugin-container process? It looks like that site isn't using EME; we should see logging about CDM processes being launched, and it's not there.

I think we can only conclude they're not using Widevine via EME.
Flags: needinfo?(cpearce)
I've tried again and there were some other log files that I've missed the first time (firefox.log.child-1, firefox.log.child-2 and firefox.log.child-3). Maybe these logs are more helpful.

firefox.log.child-1 - was empty
---------------------------------------------
firefox.log.child-2

2017-02-16 20:46:51.285000 UTC - [Main Thread]: D/GMP UpdateGMPCapabilities {gmp-clearkey version=1 tags=[decode-video:h264:org.w3.clearkey eme-decrypt-v9:org.w3.clearkey]}
2017-02-16 20:46:51.554000 UTC - [Main Thread]: D/GMP UpdateGMPCapabilities {gmp-clearkey version=1 tags=[decode-video:h264:org.w3.clearkey eme-decrypt-v9:org.w3.clearkey]}
2017-02-16 20:47:12.502000 UTC - [Main Thread]: D/GMP UpdateGMPCapabilities {gmp-clearkey version=1 tags=[decode-video:h264:org.w3.clearkey eme-decrypt-v9:org.w3.clearkey], gmp-gmpopenh264 version=1.6.0 tags=[encode-video:h264 decode-video:h264]}
2017-02-16 20:47:14.004000 UTC - [Main Thread]: D/GMP UpdateGMPCapabilities {gmp-clearkey version=1 tags=[decode-video:h264:org.w3.clearkey eme-decrypt-v9:org.w3.clearkey], gmp-gmpopenh264 version=1.6.0 tags=[encode-video:h264 decode-video:h264], gmp-widevinecdm version=1.4.8.903 tags=[decode-video:vp8:vp9:h264:com.widevine.alpha eme-decrypt-v9:com.widevine.alpha]}
---------------------------------------------
firefox.log.child-3

2017-02-16 20:46:52.044000 UTC - [Main Thread]: D/GMP UpdateGMPCapabilities {gmp-clearkey version=1 tags=[decode-video:h264:org.w3.clearkey eme-decrypt-v9:org.w3.clearkey]}
2017-02-16 20:47:12.502000 UTC - [Main Thread]: D/GMP UpdateGMPCapabilities {gmp-clearkey version=1 tags=[decode-video:h264:org.w3.clearkey eme-decrypt-v9:org.w3.clearkey], gmp-gmpopenh264 version=1.6.0 tags=[encode-video:h264 decode-video:h264]}
2017-02-16 20:47:14.004000 UTC - [Main Thread]: D/GMP UpdateGMPCapabilities {gmp-clearkey version=1 tags=[decode-video:h264:org.w3.clearkey eme-decrypt-v9:org.w3.clearkey], gmp-gmpopenh264 version=1.6.0 tags=[encode-video:h264 decode-video:h264], gmp-widevinecdm version=1.4.8.903 tags=[decode-video:vp8:vp9:h264:com.widevine.alpha eme-decrypt-v9:com.widevine.alpha]}
Flags: needinfo?(cpearce)
OK. Also in those logs we don't have evidence of EME being used. So I think we can conclude they're not using Widevine via EME.
Flags: needinfo?(cpearce)

Is this still the case or can this bug be closed?

Flags: needinfo?(vbacia.work)
Flags: needinfo?(brindusa.tot)

Verified on latest Nightly 97.0a1 (20220110093702) and Release 95.0.2 (20211218203254), on https://play.hbonow.com and https://hbogo.ro. The videos are playing without errors. I will mark this bug as Resolved - WFM.

Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(brindusa.tot)
Resolution: --- → WORKSFORME
Flags: needinfo?(vbacia.work)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: