Allow setting of width with the live stream helper

This commit is contained in:
Kyle Johnson 2013-07-15 07:35:39 -04:00
parent 4265e8b45f
commit e4ccd359cd
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}