fixed a bug with setting the live flag in the metadata (embed)

This commit is contained in:
ThatGuy 2013-07-29 14:58:27 +02:00
parent fa727cdffe
commit 31b981dc1c
2 changed files with 14 additions and 11 deletions

View file

@ -139,10 +139,10 @@ function mistembed(streamname)
}else{
// no error, and sources found. Check the video types and output the best
// available video player.
var i, video,
vtype = video.type ? video.type : 'unknown';
foundPlayer = false,
len = video.source.length;
var i,
vtype = (video.type ? video.type : 'unknown'),
foundPlayer = false,
len = video.source.length;
for(i = 0; i < len; i++)
{