Embed: https and fixes
This commit is contained in:
parent
08e6102440
commit
8a467567e2
3 changed files with 4 additions and 2 deletions
|
@ -776,6 +776,7 @@ function mistPlay(streamName,options) {
|
|||
//build the player
|
||||
player.options = playerOpts;
|
||||
var element = player.build(playerOpts);
|
||||
options.target.innerHTML = '';
|
||||
options.target.appendChild(element);
|
||||
element.setAttribute('data-player',mistPlayer);
|
||||
element.setAttribute('data-mime',source.type);
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<script>
|
||||
// global options can be set here
|
||||
var mistoptions = {
|
||||
host: 'http://cattop:8080'
|
||||
host: 'https://cat.mistserver.org:4433'
|
||||
};
|
||||
</script>
|
||||
|
||||
|
|
|
@ -135,8 +135,9 @@ p.prototype.build = function (options,callback) {
|
|||
ele.addEventListener('progress',nolongerdced);
|
||||
}
|
||||
|
||||
//ele.addEventListener('stalled',dced,true);
|
||||
ele.addEventListener('stalled',dced,true);
|
||||
ele.addEventListener('ended',dced,true);
|
||||
ele.addEventListener('pause',dced,true);
|
||||
}
|
||||
|
||||
this.addlog('Built html');
|
||||
|
|
Loading…
Add table
Reference in a new issue