Embed: dont attempt to loop live videos

This commit is contained in:
Cat 2016-12-23 10:58:53 +01:00 committed by Thulinma
parent 17c1368235
commit a41929168d
3 changed files with 3 additions and 3 deletions

View file

@ -966,7 +966,7 @@ function mistPlay(streamName,options) {
//pass player options and handle defaults
playerOpts.autoplay = options.autoplay;
playerOpts.controls = options.controls;
playerOpts.loop = options.loop;
playerOpts.loop = (playerOpts.live ? false : options.loop);
playerOpts.poster = options.poster;
function calcSize() {