From c3906617591e555f47df43f17743ef603cd7b22c Mon Sep 17 00:00:00 2001 From: "Brian R. Bondy" Date: Mon, 3 Apr 2017 15:47:13 -0400 Subject: [PATCH] Add wideivne for amazon prime Auditors: @bsclifton Before the URLs used to be indistinguishable for amazon prime, but seems they updated and it's on its own domain now, which makes things very simple :D Fix #5233 --- js/components/frame.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/components/frame.js b/js/components/frame.js index fe2f90c667b..a57965bea03 100644 --- a/js/components/frame.js +++ b/js/components/frame.js @@ -589,6 +589,7 @@ class Frame extends ImmutableComponent { // https://www.nfl.com is said to be a widevine site but it actually uses Flash for me Oct 10, 2016 const widevineSites = ['https://www.netflix.com', 'http://bitmovin.com', + 'https://www.primevideo.com', 'https://shaka-player-demo.appspot.com'] const isForWidevineTest = process.env.NODE_ENV === 'test' && location.endsWith('/drm.html') if (!isForWidevineTest && (!origin || !widevineSites.includes(origin))) {