2014-05-29 23:47:52 +08:00
|
|
|
<?php
|
|
|
|
//
|
|
|
|
// ZoneMinder web event view file, $Date$, $Revision$
|
|
|
|
// Copyright (C) 2001-2008 Philip Coombes
|
|
|
|
//
|
|
|
|
// This program is free software; you can redistribute it and/or
|
|
|
|
// modify it under the terms of the GNU General Public License
|
|
|
|
// as published by the Free Software Foundation; either version 2
|
|
|
|
// of the License, or (at your option) any later version.
|
|
|
|
//
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2008-07-14 21:54:50 +08:00
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2014-05-29 23:47:52 +08:00
|
|
|
// GNU General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU General Public License
|
|
|
|
// along with this program; if not, write to the Free Software
|
2016-12-26 23:23:16 +08:00
|
|
|
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2014-05-29 23:47:52 +08:00
|
|
|
//
|
|
|
|
|
2018-01-18 04:20:15 +08:00
|
|
|
if ( !canView('Events') ) {
|
2017-05-19 02:55:53 +08:00
|
|
|
$view = 'error';
|
|
|
|
return;
|
2014-05-29 23:47:52 +08:00
|
|
|
}
|
|
|
|
|
2020-08-18 05:41:38 +08:00
|
|
|
require_once('includes/Event.php');
|
|
|
|
require_once('includes/Filter.php');
|
2021-12-06 06:48:49 +08:00
|
|
|
require_once('includes/Zone.php');
|
2020-08-18 05:41:38 +08:00
|
|
|
|
2019-03-20 00:16:31 +08:00
|
|
|
$eid = validInt($_REQUEST['eid']);
|
2020-04-17 21:46:10 +08:00
|
|
|
$fid = !empty($_REQUEST['fid']) ? validInt($_REQUEST['fid']) : 1;
|
2014-05-29 23:47:52 +08:00
|
|
|
|
2019-03-20 00:16:31 +08:00
|
|
|
$Event = new ZM\Event($eid);
|
2021-12-06 06:48:49 +08:00
|
|
|
$monitor = $Event->Monitor();
|
|
|
|
|
|
|
|
if (!$monitor->canView()) {
|
|
|
|
$view = 'error';
|
|
|
|
return;
|
2015-02-24 03:10:18 +08:00
|
|
|
}
|
2008-07-14 21:54:50 +08:00
|
|
|
|
2021-12-06 06:48:49 +08:00
|
|
|
zm_session_start();
|
|
|
|
if (isset($_REQUEST['rate']) ) {
|
2017-05-19 02:55:53 +08:00
|
|
|
$rate = validInt($_REQUEST['rate']);
|
2021-12-06 06:48:49 +08:00
|
|
|
} else if (isset($_COOKIE['zmEventRate'])) {
|
2018-11-29 22:43:21 +08:00
|
|
|
$rate = $_COOKIE['zmEventRate'];
|
2017-10-22 08:22:05 +08:00
|
|
|
} else {
|
2021-12-06 06:48:49 +08:00
|
|
|
$rate = reScale(RATE_BASE, $monitor->DefaultRate(), ZM_WEB_DEFAULT_RATE);
|
2017-10-22 08:22:05 +08:00
|
|
|
}
|
2022-01-21 00:51:08 +08:00
|
|
|
if ($rate > 1600) {
|
|
|
|
$rate = 1600;
|
|
|
|
zm_setcookie('zmEventRate', $rate);
|
|
|
|
}
|
2016-09-27 21:46:04 +08:00
|
|
|
|
2021-12-06 06:48:49 +08:00
|
|
|
if (isset($_REQUEST['scale'])) {
|
2016-09-27 21:46:04 +08:00
|
|
|
$scale = validInt($_REQUEST['scale']);
|
2021-12-06 06:48:49 +08:00
|
|
|
} else if (isset($_COOKIE['zmEventScale'.$Event->MonitorId()])) {
|
2016-10-12 21:17:57 +08:00
|
|
|
$scale = $_COOKIE['zmEventScale'.$Event->MonitorId()];
|
2016-09-27 21:46:04 +08:00
|
|
|
} else {
|
2021-12-06 06:48:49 +08:00
|
|
|
$scale = $monitor->DefaultScale();
|
|
|
|
}
|
|
|
|
|
|
|
|
$showZones = false;
|
|
|
|
if (isset($_REQUEST['showZones'])) {
|
|
|
|
$showZones = $_REQUEST['showZones'] == 1;
|
|
|
|
$_SESSION['zmEventShowZones'.$monitor->Id()] = $showZones;
|
|
|
|
} else if (isset($_COOKIE['zmEventShowZones'.$monitor->Id()])) {
|
|
|
|
$showZones = $_COOKIE['zmEventShowZones'.$monitor->Id()] == 1;
|
|
|
|
} else if (isset($_SESSION['zmEventShowZones'.$monitor->Id()]) ) {
|
|
|
|
$showZones = $_SESSION['zmEventShowZones'.$monitor->Id()];
|
2016-09-27 21:46:04 +08:00
|
|
|
}
|
2014-05-29 23:47:52 +08:00
|
|
|
|
2018-09-11 00:22:55 +08:00
|
|
|
$codec = 'auto';
|
2021-12-06 06:48:49 +08:00
|
|
|
if (isset($_REQUEST['codec'])) {
|
2018-09-11 00:22:55 +08:00
|
|
|
$codec = $_REQUEST['codec'];
|
2018-09-11 03:09:08 +08:00
|
|
|
$_SESSION['zmEventCodec'.$Event->MonitorId()] = $codec;
|
2019-02-25 23:21:43 +08:00
|
|
|
} else if ( isset($_SESSION['zmEventCodec'.$Event->MonitorId()]) ) {
|
2018-09-11 00:22:55 +08:00
|
|
|
$codec = $_SESSION['zmEventCodec'.$Event->MonitorId()];
|
|
|
|
} else {
|
2021-12-06 06:48:49 +08:00
|
|
|
$codec = $monitor->DefaultCodec();
|
2018-09-11 00:22:55 +08:00
|
|
|
}
|
2021-12-06 06:48:49 +08:00
|
|
|
session_write_close();
|
|
|
|
|
2018-09-11 00:22:55 +08:00
|
|
|
$codecs = array(
|
|
|
|
'auto' => translate('Auto'),
|
2019-03-20 00:16:31 +08:00
|
|
|
'MP4' => translate('MP4'),
|
2018-09-11 00:22:55 +08:00
|
|
|
'MJPEG' => translate('MJPEG'),
|
|
|
|
);
|
|
|
|
|
2014-05-29 23:47:52 +08:00
|
|
|
$replayModes = array(
|
2019-03-20 00:16:31 +08:00
|
|
|
'none' => translate('None'),
|
|
|
|
'single' => translate('ReplaySingle'),
|
|
|
|
'all' => translate('ReplayAll'),
|
|
|
|
'gapless' => translate('ReplayGapless'),
|
2014-05-29 23:47:52 +08:00
|
|
|
);
|
|
|
|
|
2021-12-06 06:48:49 +08:00
|
|
|
if (isset($_REQUEST['streamMode']))
|
2017-05-19 02:55:53 +08:00
|
|
|
$streamMode = validHtmlStr($_REQUEST['streamMode']);
|
2014-05-29 23:47:52 +08:00
|
|
|
else
|
2017-05-19 02:55:53 +08:00
|
|
|
$streamMode = 'video';
|
2014-05-29 23:47:52 +08:00
|
|
|
|
2017-07-07 05:45:23 +08:00
|
|
|
$replayMode = '';
|
2021-12-06 06:48:49 +08:00
|
|
|
if (isset($_REQUEST['replayMode']))
|
2017-05-19 02:55:53 +08:00
|
|
|
$replayMode = validHtmlStr($_REQUEST['replayMode']);
|
2021-12-06 06:48:49 +08:00
|
|
|
if (isset($_COOKIE['replayMode']) && preg_match('#^[a-z]+$#', $_COOKIE['replayMode']))
|
2017-05-19 02:55:53 +08:00
|
|
|
$replayMode = validHtmlStr($_COOKIE['replayMode']);
|
2017-06-22 05:14:02 +08:00
|
|
|
|
2021-12-06 06:48:49 +08:00
|
|
|
if ((!$replayMode) or !$replayModes[$replayMode]) {
|
2017-06-22 05:14:02 +08:00
|
|
|
$replayMode = 'none';
|
2014-05-29 23:47:52 +08:00
|
|
|
}
|
|
|
|
|
2021-12-06 06:48:49 +08:00
|
|
|
$video_tag = ($Event->DefaultVideo() and ($codec == 'MP4' or $codec == 'auto'));
|
|
|
|
|
2015-04-14 00:41:21 +08:00
|
|
|
// videojs zoomrotate only when direct recording
|
|
|
|
$Zoom = 1;
|
|
|
|
$Rotation = 0;
|
2021-12-06 06:48:49 +08:00
|
|
|
if ($monitor->VideoWriter() == '2') {
|
2017-05-19 23:00:37 +08:00
|
|
|
# Passthrough
|
|
|
|
$Rotation = $Event->Orientation();
|
2021-12-06 06:48:49 +08:00
|
|
|
if (in_array($Event->Orientation(),array('90','270')))
|
2017-05-19 23:00:37 +08:00
|
|
|
$Zoom = $Event->Height()/$Event->Width();
|
2015-04-14 00:41:21 +08:00
|
|
|
}
|
|
|
|
|
2020-04-17 21:46:10 +08:00
|
|
|
// These are here to figure out the next/prev event, however if there is no filter, then default to one that specifies the Monitor
|
2020-01-08 03:49:58 +08:00
|
|
|
if ( !isset($_REQUEST['filter']) ) {
|
2020-04-17 21:46:10 +08:00
|
|
|
$_REQUEST['filter'] = array(
|
|
|
|
'Query'=>array(
|
|
|
|
'terms'=>array(
|
|
|
|
array('attr'=>'MonitorId', 'op'=>'=', 'val'=>$Event->MonitorId())
|
|
|
|
)
|
|
|
|
)
|
|
|
|
);
|
2020-01-08 03:49:58 +08:00
|
|
|
}
|
2014-05-29 23:47:52 +08:00
|
|
|
parseSort();
|
2020-08-18 05:41:38 +08:00
|
|
|
$filter = ZM\Filter::parse($_REQUEST['filter']);
|
|
|
|
$filterQuery = $filter->querystring();
|
2014-05-29 23:47:52 +08:00
|
|
|
|
|
|
|
$connkey = generateConnKey();
|
|
|
|
|
2020-12-01 23:07:42 +08:00
|
|
|
xhtmlHeaders(__FILE__, translate('Event').' '.$Event->Id());
|
2014-05-29 23:47:52 +08:00
|
|
|
?>
|
|
|
|
<body>
|
2008-07-14 21:54:50 +08:00
|
|
|
<div id="page">
|
2020-12-01 23:07:42 +08:00
|
|
|
<?php echo getNavBarHTML() ?>
|
2016-10-13 03:39:32 +08:00
|
|
|
<?php
|
2020-02-26 00:17:46 +08:00
|
|
|
if ( !$Event->Id() ) {
|
2021-01-26 07:48:20 +08:00
|
|
|
echo '<div class="error">Event was not found.</div>';
|
|
|
|
}
|
|
|
|
|
|
|
|
if ( $Event->Id() and !file_exists($Event->Path()) )
|
|
|
|
echo '<div class="error">Event was not found at '.$Event->Path().'. It is unlikely that playback will be possible.</div>';
|
2016-10-13 03:39:32 +08:00
|
|
|
?>
|
2020-12-01 23:07:42 +08:00
|
|
|
|
|
|
|
<!-- BEGIN HEADER -->
|
|
|
|
<div class="d-flex flex-row justify-content-between px-3 py-1">
|
|
|
|
<div id="toolbar" >
|
|
|
|
<button id="backBtn" class="btn btn-normal" data-toggle="tooltip" data-placement="top" title="<?php echo translate('Back') ?>" disabled><i class="fa fa-arrow-left"></i></button>
|
|
|
|
<button id="refreshBtn" class="btn btn-normal" data-toggle="tooltip" data-placement="top" title="<?php echo translate('Refresh') ?>" ><i class="fa fa-refresh"></i></button>
|
2021-12-06 06:48:49 +08:00
|
|
|
<?php if ($Event->Id()) { ?>
|
2020-12-01 23:07:42 +08:00
|
|
|
<button id="renameBtn" class="btn btn-normal" data-toggle="tooltip" data-placement="top" title="<?php echo translate('Rename') ?>" disabled><i class="fa fa-font"></i></button>
|
|
|
|
<button id="archiveBtn" class="btn btn-normal" data-toggle="tooltip" data-placement="top" title="<?php echo translate('Archive') ?>" disabled><i class="fa fa-archive"></i></button>
|
|
|
|
<button id="unarchiveBtn" class="btn btn-normal" data-toggle="tooltip" data-placement="top" title="<?php echo translate('Unarchive') ?>" disabled><i class="fa fa-file-archive-o"></i></button>
|
|
|
|
<button id="editBtn" class="btn btn-normal" data-toggle="tooltip" data-placement="top" title="<?php echo translate('Edit') ?>" disabled><i class="fa fa-pencil"></i></button>
|
|
|
|
<button id="exportBtn" class="btn btn-normal" data-toggle="tooltip" data-placement="top" title="<?php echo translate('Export') ?>"><i class="fa fa-external-link"></i></button>
|
2021-09-22 00:59:42 +08:00
|
|
|
<a id="downloadBtn" class="btn btn-normal" href="<?php echo $Event->getStreamSrc(array('mode'=>'mp4'),'&')?>"
|
2021-11-13 04:11:41 +08:00
|
|
|
title="<?php echo translate('Download'). ' ' . $Event->DefaultVideo() ?>"
|
2021-09-22 00:59:42 +08:00
|
|
|
download
|
|
|
|
<?php echo $Event->DefaultVideo() ? '' : 'style="display:none;"' ?>
|
|
|
|
><i class="fa fa-download"></i></a>
|
2021-10-28 22:46:07 +08:00
|
|
|
<button id="videoBtn" class="btn btn-normal" data-toggle="tooltip" data-toggle="tooltip" data-placement="top" title="<?php echo translate('GenerateVideo') ?>"><i class="fa fa-file-video-o"></i></button>
|
2020-12-16 04:59:02 +08:00
|
|
|
<button id="statsBtn" class="btn btn-normal" data-toggle="tooltip" data-placement="top" title="<?php echo translate('Stats') ?>" ><i class="fa fa-info"></i></button>
|
2020-12-25 04:46:13 +08:00
|
|
|
<button id="framesBtn" class="btn btn-normal" data-toggle="tooltip" data-placement="top" title="<?php echo translate('Frames') ?>" ><i class="fa fa-picture-o"></i></button>
|
2020-12-16 04:59:02 +08:00
|
|
|
<button id="deleteBtn" class="btn btn-danger" data-toggle="tooltip" data-placement="top" title="<?php echo translate('Delete') ?>"><i class="fa fa-trash"></i></button>
|
2021-12-06 06:48:49 +08:00
|
|
|
<?php
|
|
|
|
if (canView('System')) { ?>
|
|
|
|
<button id="toggleZonesButton" class="btn btn-<?php echo $showZones?'normal':'secondary'?>" title="<?php echo translate(($showZones?'Hide':'Show').' Zones')?>" ><span class="material-icons"><?php echo $showZones?'layers_clear':'layers'?></span</button>
|
|
|
|
<?php
|
|
|
|
}
|
|
|
|
} // end if Event->Id
|
|
|
|
?>
|
2020-12-16 04:59:02 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<h2><?php echo translate('Event').' '.$Event->Id() ?></h2>
|
|
|
|
|
|
|
|
<div class="d-flex flex-row">
|
2019-10-16 03:04:14 +08:00
|
|
|
<div id="replayControl">
|
|
|
|
<label for="replayMode"><?php echo translate('Replay') ?></label>
|
2020-09-06 05:33:17 +08:00
|
|
|
<?php echo htmlSelect('replayMode', $replayModes, $replayMode, array('data-on-change'=>'changeReplayMode','id'=>'replayMode')); ?>
|
2019-10-16 03:04:14 +08:00
|
|
|
</div>
|
|
|
|
<div id="scaleControl">
|
|
|
|
<label for="scale"><?php echo translate('Scale') ?></label>
|
2020-09-06 05:33:17 +08:00
|
|
|
<?php echo htmlSelect('scale', $scales, $scale, array('data-on-change'=>'changeScale','id'=>'scale')); ?>
|
2019-10-16 03:04:14 +08:00
|
|
|
</div>
|
|
|
|
<div id="codecControl">
|
|
|
|
<label for="codec"><?php echo translate('Codec') ?></label>
|
2020-09-06 05:33:17 +08:00
|
|
|
<?php echo htmlSelect('codec', $codecs, $codec, array('data-on-change'=>'changeCodec','id'=>'codec')); ?>
|
2019-10-16 03:04:14 +08:00
|
|
|
</div>
|
2016-04-30 20:27:10 +08:00
|
|
|
</div>
|
2019-10-16 03:04:14 +08:00
|
|
|
</div>
|
2021-01-26 07:48:20 +08:00
|
|
|
<?php if ( $Event->Id() ) { ?>
|
2020-12-01 23:07:42 +08:00
|
|
|
<!-- BEGIN VIDEO CONTENT ROW -->
|
|
|
|
<div id="content" class="d-flex flex-row justify-content-center">
|
|
|
|
<div class="">
|
|
|
|
<!-- VIDEO STATISTICS TABLE -->
|
|
|
|
<table id="eventStatsTable" class="table-sm table-borderless">
|
2020-12-14 20:55:45 +08:00
|
|
|
<!-- EVENT STATISTICS POPULATED BY JAVASCRIPT -->
|
2020-12-01 23:07:42 +08:00
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<div class="">
|
2019-10-16 03:04:14 +08:00
|
|
|
<div id="eventVideo">
|
2020-12-01 23:07:42 +08:00
|
|
|
<!-- VIDEO CONTENT -->
|
2021-12-06 06:48:49 +08:00
|
|
|
<div id="videoFeed">
|
2008-07-14 21:54:50 +08:00
|
|
|
<?php
|
2021-12-06 06:48:49 +08:00
|
|
|
if ($video_tag) {
|
2014-05-12 06:08:23 +08:00
|
|
|
?>
|
2021-08-29 21:44:04 +08:00
|
|
|
<video autoplay id="videoobj" class="video-js vjs-default-skin"
|
2020-02-26 00:17:46 +08:00
|
|
|
style="transform: matrix(1, 0, 0, 1, 0, 0);"
|
|
|
|
<?php echo $scale ? 'width="'.reScale($Event->Width(), $scale).'"' : '' ?>
|
|
|
|
<?php echo $scale ? 'height="'.reScale($Event->Height(), $scale).'"' : '' ?>
|
2020-10-16 05:17:20 +08:00
|
|
|
data-setup='{ "controls": true, "autoplay": true, "preload": "auto", "playbackRates": [ <?php echo implode(',',
|
|
|
|
array_map(function($r){return $r/100;},
|
|
|
|
array_filter(
|
|
|
|
array_keys($rates),
|
2020-10-19 21:08:25 +08:00
|
|
|
function($r){return $r >= 0 ? true : false;}
|
2020-10-16 05:17:20 +08:00
|
|
|
))) ?>], "plugins": { "zoomrotate": { "zoom": "<?php echo $Zoom ?>"}}}'
|
2019-12-03 04:34:31 +08:00
|
|
|
>
|
|
|
|
<source src="<?php echo $Event->getStreamSrc(array('mode'=>'mpeg','format'=>'h264'),'&'); ?>" type="video/mp4">
|
|
|
|
<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/>
|
2016-04-30 20:27:10 +08:00
|
|
|
Your browser does not support the video tag.
|
|
|
|
</video>
|
2014-05-12 06:08:23 +08:00
|
|
|
<?php
|
2018-09-11 00:22:55 +08:00
|
|
|
} else {
|
2020-02-26 00:17:46 +08:00
|
|
|
if ( (ZM_WEB_STREAM_METHOD == 'mpeg') && ZM_MPEG_LIVE_FORMAT ) {
|
2019-12-03 04:34:31 +08:00
|
|
|
$streamSrc = $Event->getStreamSrc(array('mode'=>'mpeg', 'scale'=>$scale, 'rate'=>$rate, 'bitrate'=>ZM_WEB_VIDEO_BITRATE, 'maxfps'=>ZM_WEB_VIDEO_MAXFPS, 'format'=>ZM_MPEG_REPLAY_FORMAT, 'replay'=>$replayMode),'&');
|
2019-03-22 02:14:45 +08:00
|
|
|
outputVideoStream('evtStream', $streamSrc, reScale( $Event->Width(), $scale ).'px', reScale( $Event->Height(), $scale ).'px', ZM_MPEG_LIVE_FORMAT );
|
2016-09-29 21:28:48 +08:00
|
|
|
} else {
|
2019-12-03 04:34:31 +08:00
|
|
|
$streamSrc = $Event->getStreamSrc(array('mode'=>'jpeg', 'frame'=>$fid, 'scale'=>$scale, 'rate'=>$rate, 'maxfps'=>ZM_WEB_VIDEO_MAXFPS, 'replay'=>$replayMode),'&');
|
2017-05-19 02:55:53 +08:00
|
|
|
if ( canStreamNative() ) {
|
2021-12-06 06:48:49 +08:00
|
|
|
outputImageStream('evtStream', $streamSrc, '100%', '100%', validHtmlStr($Event->Name()));
|
2017-05-19 02:55:53 +08:00
|
|
|
} else {
|
2021-12-06 06:48:49 +08:00
|
|
|
outputHelperStream('evtStream', $streamSrc, '100%', '100%');
|
2017-05-19 02:55:53 +08:00
|
|
|
}
|
2016-10-12 21:17:57 +08:00
|
|
|
} // end if stream method
|
2014-05-29 23:47:52 +08:00
|
|
|
?>
|
2017-11-24 05:24:57 +08:00
|
|
|
<div id="alarmCue" class="alarmCue"></div>
|
2017-10-13 20:58:07 +08:00
|
|
|
<div id="progressBar" style="width: <?php echo reScale($Event->Width(), $scale);?>px;">
|
|
|
|
<div class="progressBox" id="progressBox" title="" style="width: 0%;"></div>
|
|
|
|
</div><!--progressBar-->
|
2019-02-25 23:21:43 +08:00
|
|
|
<?php
|
|
|
|
} /*end if !DefaultVideo*/
|
|
|
|
?>
|
2021-12-06 06:48:49 +08:00
|
|
|
<svg class="zones" id="zones<?php echo $monitor->Id() ?>" style="display:<?php echo $showZones ? 'block' : 'none'; ?>" viewBox="0 0 <?php echo $monitor->ViewWidth().' '.$monitor->ViewHeight() ?>" preserveAspectRatio="none">
|
|
|
|
<?php
|
|
|
|
foreach (ZM\Zone::find(array('MonitorId'=>$monitor->Id()), array('order'=>'Area DESC')) as $zone) {
|
|
|
|
echo $zone->svg_polygon();
|
|
|
|
} // end foreach zone
|
|
|
|
?>
|
|
|
|
Sorry, your browser does not support inline SVG
|
|
|
|
</svg>
|
|
|
|
</div><!--videoFeed-->
|
2017-11-18 01:46:08 +08:00
|
|
|
<p id="dvrControls">
|
2019-09-27 04:26:37 +08:00
|
|
|
<button type="button" id="prevBtn" title="<?php echo translate('Prev') ?>" class="inactive" data-on-click-true="streamPrev">
|
|
|
|
<i class="material-icons md-18">skip_previous</i>
|
|
|
|
</button>
|
|
|
|
<button type="button" id="fastRevBtn" title="<?php echo translate('Rewind') ?>" class="inactive" data-on-click-true="streamFastRev">
|
|
|
|
<i class="material-icons md-18">fast_rewind</i>
|
|
|
|
</button>
|
|
|
|
<button type="button" id="slowRevBtn" title="<?php echo translate('StepBack') ?>" class="unavail" disabled="disabled" data-on-click-true="streamSlowRev">
|
|
|
|
<i class="material-icons md-18">chevron_left</i>
|
|
|
|
</button>
|
|
|
|
<button type="button" id="pauseBtn" title="<?php echo translate('Pause') ?>" class="inactive" data-on-click="pauseClicked">
|
|
|
|
<i class="material-icons md-18">pause</i>
|
|
|
|
</button>
|
|
|
|
<button type="button" id="playBtn" title="<?php echo translate('Play') ?>" class="active" disabled="disabled" data-on-click="playClicked">
|
|
|
|
<i class="material-icons md-18">play_arrow</i>
|
|
|
|
</button>
|
|
|
|
<button type="button" id="slowFwdBtn" title="<?php echo translate('StepForward') ?>" class="unavail" disabled="disabled" data-on-click-true="streamSlowFwd">
|
|
|
|
<i class="material-icons md-18">chevron_right</i>
|
|
|
|
</button>
|
|
|
|
<button type="button" id="fastFwdBtn" title="<?php echo translate('FastForward') ?>" class="inactive" data-on-click-true="streamFastFwd">
|
|
|
|
<i class="material-icons md-18">fast_forward</i>
|
|
|
|
</button>
|
|
|
|
<button type="button" id="zoomOutBtn" title="<?php echo translate('ZoomOut') ?>" class="unavail" disabled="disabled" data-on-click="streamZoomOut">
|
|
|
|
<i class="material-icons md-18">zoom_out</i>
|
|
|
|
</button>
|
|
|
|
<button type="button" id="nextBtn" title="<?php echo translate('Next') ?>" class="inactive" data-on-click-true="streamNext">
|
|
|
|
<i class="material-icons md-18">skip_next</i>
|
|
|
|
</button>
|
2008-07-14 21:54:50 +08:00
|
|
|
</p>
|
|
|
|
<div id="replayStatus">
|
2017-11-11 23:53:36 +08:00
|
|
|
<span id="mode"><?php echo translate('Mode') ?>: <span id="modeValue">Replay</span></span>
|
2019-12-21 00:02:12 +08:00
|
|
|
<span id="rate"><?php echo translate('Rate') ?>:
|
|
|
|
<?php
|
2021-12-06 06:48:49 +08:00
|
|
|
#rates are defined in skins/classic/includes/config.php
|
|
|
|
echo htmlSelect('rate', $rates, intval($rate), array('id'=>'rateValue'));
|
2019-12-21 00:02:12 +08:00
|
|
|
?>
|
|
|
|
<!--<span id="rateValue"><?php echo $rate/100 ?></span>x</span>-->
|
2017-11-15 12:04:05 +08:00
|
|
|
<span id="progress"><?php echo translate('Progress') ?>: <span id="progressValue">0</span>s</span>
|
2017-11-11 23:53:36 +08:00
|
|
|
<span id="zoom"><?php echo translate('Zoom') ?>: <span id="zoomValue">1</span>x</span>
|
2008-07-14 21:54:50 +08:00
|
|
|
</div>
|
2017-11-15 12:04:05 +08:00
|
|
|
</div><!--eventVideo-->
|
2015-04-14 00:41:21 +08:00
|
|
|
<?php
|
2016-10-13 03:39:32 +08:00
|
|
|
} // end if Event exists
|
2015-04-14 00:41:21 +08:00
|
|
|
?>
|
2020-12-01 23:07:42 +08:00
|
|
|
</div>
|
2017-11-15 12:04:05 +08:00
|
|
|
</div><!--content-->
|
2020-12-01 23:07:42 +08:00
|
|
|
|
2016-10-13 03:39:32 +08:00
|
|
|
</div><!--page-->
|
2021-12-06 06:48:49 +08:00
|
|
|
<?php
|
|
|
|
echo output_link_if_exists(array('css/base/zones.css'));
|
|
|
|
xhtmlFooter();
|
|
|
|
?>
|