- fixes as a result of documentation, fixed secondaryVideo
- added muted option, changing tracks sets options.setTracks
- no positive values for startunix when live seeking
- dashjs tracks updated, videojs display tweaked
- fixes for track selection and live seeking
This commit is contained in:
Cat 2018-12-20 16:48:39 +01:00 committed by Thulinma
parent 0a1b00cb5e
commit 998d7c6d03
22 changed files with 283 additions and 119 deletions

View file

@ -59,6 +59,10 @@ p.prototype.build = function (MistVideo,callback) {
vjsopts.loop = true;
ele.loop = true;
}
if (MistVideo.options.muted) {
vjsopts.muted = true;
ele.muted = true;
}
if (MistVideo.options.poster) { vjsopts.poster = MistVideo.options.poster; }
if (MistVideo.options.controls == "stock") {
ele.setAttribute("controls","");
@ -71,7 +75,6 @@ p.prototype.build = function (MistVideo,callback) {
}
}
me.onready(function(){
me.videojs = videojs(ele,vjsopts,function(){
MistVideo.log("Videojs initialized");