Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added <audio-motion> (Monitor.php)
  • Loading branch information
IgorA100 authored Jul 26, 2025
commit 2e8ad4ff453f2bc7bf6f16085c0aa0fea13ee629
11 changes: 11 additions & 0 deletions web/includes/Monitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -1199,6 +1199,17 @@ class="monitorStream imageFeed"
';
} # end if showZones
$html .= PHP_EOL.'</div><!--.zoompan--></div><!--monitorStream-->'.PHP_EOL;
$html .= '
<audio-motion id="audioVisualisation'.$this->Id().'" class="audio-visualisation">
<div id="audiControlPanel'.$this->Id().'" class="audio-control-panel">
<input id="volumeControl'.$this->Id().'" type="range" min="0" max="100" step="1" style="display: none; "></input>
<div id="controlAudioVisualisation'.$this->Id().'" class="audio-control-mute">
<i id="controlMute'.$this->Id().'" class="material-icons md-22" data-on-click="clickControlMute">volume_off</i>
</div>
<div id="volumeSlider'.$this->Id().'" class="volumeSlider noUi-horizontal noUi-base noUi-round"></div>
</div>
</audio-motion>
';
if (isset($options['state']) and $options['state']) {
//if ((!ZM_WEB_COMPACT_MONTAGE) && ($this->Type() != 'WebSite')) {
$html .= $this->getMonitorStateHTML();
Expand Down