diff --git a/package.json b/package.json index 22e3856269..8ff92c6a9c 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "videojs-font": "2.0.0", "videojs-ie8": "1.1.2", "videojs-swf": "5.3.0", - "videojs-vtt.js": "0.12.2", + "videojs-vtt.js": "0.12.3", "xhr": "2.2.2" }, "devDependencies": { diff --git a/src/js/tech/tech.js b/src/js/tech/tech.js index 2c333f71cc..31f186168d 100644 --- a/src/js/tech/tech.js +++ b/src/js/tech/tech.js @@ -551,7 +551,7 @@ class Tech extends Component { // passed in const script = document.createElement('script'); - script.src = this.options_['vtt.js'] || 'https://cdn.rawgit.com/gkatsev/vtt.js/vjs-v0.12.1/dist/vtt.min.js'; + script.src = this.options_['vtt.js'] || 'https://vjs.zencdn.net/vttjs/0.12.3/vtt.min.js'; script.onload = () => { /** * Fired when vtt.js is loaded.