1
0
mirror of https://github.com/videojs/video.js.git synced 2025-01-02 06:32:07 +02:00

@misteroneill pass vtt.js option to tech. closes #2448

This commit is contained in:
Pat O'Neill 2015-08-10 15:33:03 -04:00 committed by Gary Katsevman
parent 589a0f86ee
commit ed790fdc38
2 changed files with 3 additions and 1 deletions

View File

@ -91,6 +91,7 @@ CHANGELOG
* @misteroneill restore videojs.formatTime ([view](https://github.com/videojs/video.js/pull/2420))
* @misteroneill include child components with `true` in options ([view](https://github.com/videojs/video.js/pull/2424))
* @misteroneill create video.novtt.js in dist builds ([view](https://github.com/videojs/video.js/pull/2447))
* @misteroneill pass vtt.js option to tech ([view](https://github.com/videojs/video.js/pull/2448))
--------------------

View File

@ -505,7 +505,8 @@ class Player extends Component {
'loop': this.options_.loop,
'muted': this.options_.muted,
'poster': this.poster(),
'language': this.language()
'language': this.language(),
'vtt.js': this.options_['vtt.js']
}, this.options_[techName.toLowerCase()]);
if (this.tag) {