|
|
|
@ -650,17 +650,31 @@ function loadEventData( record ){ |
|
|
|
src: VideoLinks[data.node_id] |
|
|
|
}); |
|
|
|
VideoPlayer.poster('/style/assets/no-signal.png'); |
|
|
|
var CT = cEventTSS - ( data.uts+data.uts_ms/1000 ); |
|
|
|
VideoPlayer.currentTime( CT ); |
|
|
|
VideoPlayer.play(); |
|
|
|
break; |
|
|
|
}; |
|
|
|
case 'mjpeg':{ |
|
|
|
ctype = 'video/x-motion-jpeg'; |
|
|
|
//var mjpegUrl = "http://127.0.0.1/web/Images/Stream/somevideo.mjpeg";
|
|
|
|
var fps = data.fps; |
|
|
|
var autoloop = true; |
|
|
|
|
|
|
|
$( video_t ).clipchamp_mjpeg_player( VideoLinks[data.node_id] , fps, autoloop, |
|
|
|
function( wrapperElement, playerInterface ) { |
|
|
|
//playerInterface.finish();
|
|
|
|
|
|
|
|
$( wrapperElement ).dblclick(function(){ |
|
|
|
//playerInterface.finish();
|
|
|
|
fullScreen( wrapperElement.id ); |
|
|
|
}); |
|
|
|
|
|
|
|
}); |
|
|
|
break; |
|
|
|
}; |
|
|
|
}; |
|
|
|
}; |
|
|
|
var CT = cEventTSS - ( data.uts+data.uts_ms/1000 ); |
|
|
|
VideoPlayer.currentTime( CT ); |
|
|
|
VideoPlayer.play(); |
|
|
|
}; |
|
|
|
}; |
|
|
|
} |
|
|
|
}); |
|
|
|
|