LSP preview page merge info
This commit is contained in:
parent
f350a3c7b0
commit
34856509ea
4 changed files with 167 additions and 7 deletions
|
@ -179,15 +179,15 @@ function mistembed(streamname)
|
|||
// remove script tag
|
||||
me.parentNode.removeChild(me);
|
||||
|
||||
if(video.error)
|
||||
{
|
||||
if(video.error) {
|
||||
// there was an error; display it
|
||||
container.innerHTML = ['<strong>Error: ', video.error, '</strong>'].join('');
|
||||
}else if(video.source.length < 1)
|
||||
{
|
||||
}
|
||||
else if ((typeof video.source == 'undefined') || (video.source.length < 1)) {
|
||||
// no stream sources
|
||||
container.innerHTML = '<strong>Error: no streams found</strong>';
|
||||
}else{
|
||||
}
|
||||
else{
|
||||
// no error, and sources found. Check the video types and output the best
|
||||
// available video player.
|
||||
var i,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue