File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ import { getSDK } from '../utils'
55const AUDIO_EXTENSIONS = / \. ( m 4 a | m p 4 a | m p g a | m p 2 | m p 2 a | m p 3 | m 2 a | m 3 a | w a v | w e b a | a a c | o g a | s p x ) ( $ | \? ) / i
66const VIDEO_EXTENSIONS = / \. ( m p 4 | o g [ g v ] | w e b m | m o v | m 4 v ) ( $ | \? ) / i
77const HLS_EXTENSIONS = / \. ( m 3 u 8 ) ( $ | \? ) / i
8- const HLS_SDK_URL = 'https://cdn.jsdelivr.net/ hls.js/latest /hls.min.js'
8+ const HLS_SDK_URL = 'https://cdnjs.cloudflare.com/ajax/libs/ hls.js/0.8.9 /hls.min.js'
99const HLS_GLOBAL = 'Hls'
1010const DASH_EXTENSIONS = / \. ( m p d ) ( $ | \? ) / i
11- const DASH_SDK_URL = 'https://cdnjs.cloudflare.com/ajax/libs/dashjs/2.5.0 /dash.all.min.js'
11+ const DASH_SDK_URL = 'https://cdnjs.cloudflare.com/ajax/libs/dashjs/2.6.5 /dash.all.min.js'
1212const DASH_GLOBAL = 'dashjs'
1313
1414function canPlay ( url ) {
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import React, { Component } from 'react'
22
33import { callPlayer , getSDK } from '../utils'
44
5- const SDK_URL = '//cdn.embed.ly/player-0.0.12 .min.js'
5+ const SDK_URL = '//cdn.embed.ly/player-0.1.0 .min.js'
66const SDK_GLOBAL = 'playerjs'
77const MATCH_URL = / s t r e a m a b l e .c o m \/ ( [ a - z 0 - 9 ] + ) $ /
88
You can’t perform that action at this time.
0 commit comments