From 6d3960ebc196c4ea08291353a3c196db76b3a13f Mon Sep 17 00:00:00 2001 From: Matthew Neil Date: Wed, 22 Mar 2017 13:24:57 -0400 Subject: [PATCH] update videojs-vtt.js to 0.12.3 --- package.json | 2 +- src/js/tech/tech.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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..c0e629e38f 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'] || 'http://vjs.zencdn.net/vttjs/0.12.3/vtt.min.js'; script.onload = () => { /** * Fired when vtt.js is loaded.