From 625170bffcc31dbadd7b68bf916afc73ac109741 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 8 Nov 2017 11:17:30 -0500 Subject: [PATCH] fix getVideoStream to getVideoStreamHTML. Change how scaling works --- web/includes/functions.php | 37 +++++++++++++++++++++++-------------- 1 file changed, 23 insertions(+), 14 deletions(-) diff --git a/web/includes/functions.php b/web/includes/functions.php index 8dcab3b42..2bb743681 100644 --- a/web/includes/functions.php +++ b/web/includes/functions.php @@ -339,11 +339,11 @@ function getVideoStreamHTML( $id, $src, $width, $height, $format, $title='' ) { } function outputImageStream( $id, $src, $width, $height, $title='' ) { - echo getImageStream( $id, $src, $width, $height, $title ); + echo getImageStreamHTML( $id, $src, $width, $height, $title ); } -function getImageStream( $id, $src, $width, $height, $title='' ) { +function getImageStreamHTML( $id, $src, $width, $height, $title='' ) { if ( canStreamIframe() ) { return '