Embed:
- 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:
parent
0a1b00cb5e
commit
998d7c6d03
22 changed files with 283 additions and 119 deletions
15
lsp/mist.js
15
lsp/mist.js
|
@ -3932,7 +3932,7 @@ var UI = {
|
|||
var $preview_cont = $('<div>').css("flex-shrink","1").css("min-width","auto").css("max-width","100%");
|
||||
$cont.append($preview_cont);
|
||||
var $title = $('<div>');
|
||||
var $video = $('<div>').addClass('mistvideo').text('Loading player..').css("max-width","100%").css("flex-shrink","1").css("min-width","auto");
|
||||
var $video = $('<div>').text('Loading player..').css("max-width","100%").css("flex-shrink","1").css("min-width","auto");
|
||||
var $controls = $('<div>').addClass('controls');
|
||||
$preview_cont.append($video).append($title).append($controls);//.append($switches);
|
||||
|
||||
|
@ -4279,6 +4279,7 @@ var UI = {
|
|||
controls: true,
|
||||
autoplay: true,
|
||||
loop: false,
|
||||
muted: false,
|
||||
fillSpace: false,
|
||||
poster: '',
|
||||
urlappend: '',
|
||||
|
@ -4558,6 +4559,18 @@ var UI = {
|
|||
$('.embed_code').setval(embedhtml(embedoptions));
|
||||
},
|
||||
help: 'If the video should restart when the end is reached.'
|
||||
},{
|
||||
label: 'Start muted',
|
||||
type: 'checkbox',
|
||||
pointer: {
|
||||
main: embedoptions,
|
||||
index: 'muted'
|
||||
},
|
||||
'function': function(){
|
||||
embedoptions.muted = $(this).getval();
|
||||
$('.embed_code').setval(embedhtml(embedoptions));
|
||||
},
|
||||
help: 'If the video should restart when the end is reached.'
|
||||
},{
|
||||
label: 'Fill available space',
|
||||
type: 'checkbox',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue