Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Merge pull request #8111 from Liunkae/widevine-spotify
Browse files Browse the repository at this point in the history
Add Widevine for Spotify
  • Loading branch information
bbondy committed Apr 13, 2017
1 parent b770407 commit c97265a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/components/frame.js
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,7 @@ class Frame extends ImmutableComponent {
const widevineSites = ['https://www.netflix.com',
'http://bitmovin.com',
'https://www.primevideo.com',
'https://www.spotify.com',
'https://shaka-player-demo.appspot.com']
const isForWidevineTest = process.env.NODE_ENV === 'test' && location.endsWith('/drm.html')
if (!isForWidevineTest && (!origin || !widevineSites.includes(origin))) {
Expand Down

0 comments on commit c97265a

Please sign in to comment.