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 authored Apr 13, 2017
2 parents 03a2b59 + 61b988d commit adf4d9a
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 @@ -436,6 +436,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 adf4d9a

Please sign in to comment.