Embed: https and fixes

This commit is contained in:
Cat 2016-11-11 10:08:45 +01:00 committed by Thulinma
parent 08e6102440
commit 8a467567e2
3 changed files with 4 additions and 2 deletions

View file

@ -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);