mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-05-12 00:31:05 -04:00
Merge branch 'master' of github.com:ZoneMinder/zoneminder
This commit is contained in:
@@ -258,6 +258,11 @@ if ($video_tag) {
|
||||
<track id="monitorCaption" kind="captions" label="English" srclang="en" src='data:plain/text;charset=utf-8,"WEBVTT\n\n 00:00:00.000 --> 00:00:01.000 ZoneMinder"' default/>
|
||||
Your browser does not support the video tag.
|
||||
</video>
|
||||
<div id="progressBar" style="width: 100%;">
|
||||
<div id="alarmCues" style="width: 100%;"></div>
|
||||
<div class="progressBox" id="progressBox" title="" style="width: 0%;"></div>
|
||||
<div id="indicator" style="display: none;"></div>
|
||||
</div><!--progressBar-->
|
||||
<?php
|
||||
} else {
|
||||
if ( (ZM_WEB_STREAM_METHOD == 'mpeg') && ZM_MPEG_LIVE_FORMAT ) {
|
||||
@@ -275,7 +280,7 @@ if ( (ZM_WEB_STREAM_METHOD == 'mpeg') && ZM_MPEG_LIVE_FORMAT ) {
|
||||
} // end if stream method
|
||||
?>
|
||||
<div id="progressBar" style="width: 100%;">
|
||||
<div id="alarmCues" style="width: 100%;"></div>
|
||||
<div id="alarmCues" style="width: 100%;"></div>
|
||||
<div class="progressBox" id="progressBox" title="" style="width: 0%;"></div>
|
||||
<div id="indicator" style="display: none;"></div>
|
||||
</div><!--progressBar-->
|
||||
|
||||
@@ -310,7 +310,7 @@ function getCmdResponse(respObj, respText) {
|
||||
}
|
||||
if (streamStatus.progress > parseFloat(eventData.Length)) {
|
||||
console.log("Limiting progress to " + streamStatus.progress + ' >= ' + parseFloat(eventData.Length) );
|
||||
streamStatus.progress = parseFloat(eventData.Length);
|
||||
//streamStatus.progress = parseFloat(eventData.Length);
|
||||
} //Limit progress to reality
|
||||
|
||||
var eventId = streamStatus.event;
|
||||
@@ -1004,7 +1004,7 @@ function initPage() {
|
||||
if (document.getElementById('videoobj')) {
|
||||
vid = videojs('videoobj');
|
||||
addVideoTimingTrack(vid, LabelFormat, eventData.MonitorName, eventData.Length, eventData.StartDateTime);
|
||||
$j('.vjs-progress-control').append('<div id="alarmCues" class="alarmCues"></div>');//add a place for videojs only on first load
|
||||
//$j('.vjs-progress-control').append('<div id="alarmCues" class="alarmCues"></div>');//add a place for videojs only on first load
|
||||
vid.on('ended', vjsReplay);
|
||||
vid.on('play', vjsPlay);
|
||||
vid.on('pause', pauseClicked);
|
||||
|
||||
Reference in New Issue
Block a user