Skip to content

Commit

Permalink
Update hls.js CDN and version
Browse files Browse the repository at this point in the history
  • Loading branch information
Webmaster1116 committed Jan 23, 2020
1 parent d13c1a0 commit a9c1a06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/players/FilePlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const IOS = typeof navigator !== 'undefined' && /iPad|iPhone|iPod/.test(navigato
const AUDIO_EXTENSIONS = /\.(m4a|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i
const VIDEO_EXTENSIONS = /\.(mp4|og[gv]|webm|mov|m4v)($|\?)/i
const HLS_EXTENSIONS = /\.(m3u8)($|\?)/i
const HLS_SDK_URL = 'https://cdnjs.cloudflare.com/ajax/libs/hls.js/VERSION/hls.min.js'
const HLS_SDK_URL = 'https://cdn.jsdelivr.net/npm/hls.js@VERSION'
const HLS_GLOBAL = 'Hls'
const DASH_EXTENSIONS = /\.(mpd)($|\?)/i
const DASH_SDK_URL = 'https://cdnjs.cloudflare.com/ajax/libs/dashjs/VERSION/dash.all.min.js'
Expand Down
2 changes: 1 addition & 1 deletion src/props.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export const defaultProps = {
forceHLS: false,
forceDASH: false,
hlsOptions: {},
hlsVersion: '0.10.1',
hlsVersion: '0.13.1',
dashVersion: '2.9.2'
},
wistia: {
Expand Down

0 comments on commit a9c1a06

Please sign in to comment.