From dbcf32080841b91a4f36ce6db7a8a7dd816c30dd Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 6 Sep 2022 15:41:42 -0400 Subject: [PATCH] For mp4, use video tag, with videojs instead of embed --- web/includes/functions.php | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/web/includes/functions.php b/web/includes/functions.php index 449e45d47..0521ed2d8 100644 --- a/web/includes/functions.php +++ b/web/includes/functions.php @@ -213,7 +213,25 @@ function getVideoStreamHTML($id, $src, $width, $height, $format, $title='') { '; } # end switch } # end if use object tags - return '= 0 ? true : false;} + ))).']}\' + > + + Your browser does not support the video tag. + '; + default: + return ' '; + } } function outputImageStream( $id, $src, $width, $height, $title='' ) {