mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-23 00:03:28 -04:00
Allow setting of width with the live stream helper
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
App::uses('AppHelper', 'View/Helper');
|
||||
|
||||
class LiveStreamHelper extends AppHelper {
|
||||
public function makeLiveStream($name, $src, $id) {
|
||||
$liveStream = "<img id=\"liveStream_$id\" alt=\"Live Stream of $name\" src=\"$src&monitor=$id\">";
|
||||
public function makeLiveStream($name, $src, $id, $width) {
|
||||
$liveStream = "<img id=\"liveStream_$id\" alt=\"Live Stream of $name\" src=\"$src&monitor=$id\" width=\"$width\">";
|
||||
return $liveStream;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user