Start in single mode, make imageFeed have the monitor it in it. Include MOnitorStream.js

pull/4202/head
Isaac Connor 2022-05-25 15:54:35 -04:00
parent 0265f69c6d
commit 34ee033b7e
1 changed files with 3 additions and 2 deletions

View File

@ -84,13 +84,13 @@ if ( $monitor->Status() != 'Connected' and $monitor->Type() != 'WebSite' ) {
}
?>
<div id="content">
<div id="imageFeed"
<div id="imageFeed<?php echo $monitor->Id() ?>"
<?php
if ( $streamMode == 'jpeg' ) {
echo 'title="Click to zoom, shift click to pan, ctrl click to zoom out"';
}
?>
><?php echo getStreamHTML($monitor, array('scale'=>$scale, 'connkey'=>$monitor->connkey())); ?></div>
><?php echo getStreamHTML($monitor, array('scale'=>$scale, 'connkey'=>$monitor->connkey(), 'mode'=>'single')); ?></div>
<?php if ( $monitor->Type() != 'WebSite' ) { ?>
@ -246,4 +246,5 @@ if ( ZM_WEB_SOUND_ON_ALARM ) {
?>
</div>
</div>
<script src="<?php echo cache_bust('js/MonitorStream.js') ?>"></script>
<?php xhtmlFooter() ?>