mirror of
https://github.com/videojs/video.js.git
synced 2025-01-25 11:13:52 +02:00
Fixed no-text-tracks error
This commit is contained in:
parent
10ec069e71
commit
83ed670dc3
@ -84,6 +84,7 @@ _V_.Player = _V_.Component.extend({
|
||||
}
|
||||
|
||||
// Tracks defined in tracks.js
|
||||
this.textTracks = [];
|
||||
if (options.tracks && options.tracks.length > 0) {
|
||||
this.addTextTracks(options.tracks);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user