Provided Chrome browser does not support DRM (widevine)
See original GitHub issueCurrent behavior:
When we try to play a DRM protected video in the chrome browser provided by cypress, our video player throws a error (drm/widevine is not supported
). The same video in ordinary chrome plays well.
Desired behavior:
The video plays well in the browser
Steps to reproduce:
cy.visit('https://demo.castlabs.com/')
Big buck Bunny > MPEG-DASH > DRM (video should start playing)
We have tried to set chromeWebSecurity: false
, but it did not help. A friend of mine is saying that this is most likely caused by the fact that the site is running in a iframe in the cypress chrome browser, so it might have something to do with security in iframes etc.
Versions
Cypress 3.0.1 Chrome 67
Issue Analytics
- State:
- Created 5 years ago
- Reactions:17
- Comments:16 (2 by maintainers)
Top Results From Across the Web
Google is deprecating the Widevine CDM for Chrome and ...
Google has recently reached out to companies to inform them that come December 6th, the Widevine CDM will be deprecated.
Read more >Widevine Content Decryption Module Update - Remote Tools
Widevine Content Decryption Module, by Google. This is used in Chrome, Firefox and Opera. However, since the Opera browser does not support HTML...
Read more >Widevine DRM - Google Developers
Widevine DRM is Google's content protection system for premium media. It is used by major partners around the world such as Google Play,...
Read more >Google Widevine DRM: Simple Guide to Security & Integration
Widevine is chiefly supported by devices and software running on Google's ecosystem. On desktop devices, Widevine DRM is supported by Chrome, ...
Read more >Google is Deprecating the Widevine DRM CDM - Bitmovin
Google recently contacted companies with a heads-up that the current Widevine Content Decryption Module (CDM) for browsers will stop working ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Cypress passes ‘–disable-component-update’ to Chrome on startup. I think that this prevents Widevine from being installed. Try filtering it out in the plugin file:
Note: this still won’t work in headless mode, Chrome --headless doesn’t support Widevine: https://bugs.chromium.org/p/chromium/issues/detail?id=788662
@jennifer-shehane We would appreciate some feedback, will this ticket be investigated anytime soon?
As mentioned above, playback of DRM content is critical for us. So far we have started writing tests for other functions of our application, but at some point of time we will need the DRM playback to work. If the DRM support will continue to be missing in cypress, any test writing efforts will be of waste and we will be forced to use another tool.