Merge pull request #4172 from IgorA100/patch-406680
Fix: Specify 'mode'=>'mp4' for getStreamSrc() Otherwise video.js sometimes cannot determine that it is a file recording that is being played, and not a direct viewing. on Event pagepull/4175/head
commit
8e2bbd57c5
|
@ -342,7 +342,7 @@ if ($video_tag) {
|
|||
function($r){return $r >= 0 ? true : false;}
|
||||
))) ?>], "plugins": { "zoomrotate": { "zoom": "<?php echo $Zoom ?>"}}}'
|
||||
>
|
||||
<source src="<?php echo $Event->getStreamSrc(array('mode'=>'mpeg','format'=>'h264'),'&'); ?>" type="video/mp4">
|
||||
<source src="<?php echo $Event->getStreamSrc(array('mode'=>'mp4','format'=>'h264'),'&'); ?>" type="video/mp4">
|
||||
<track id="monitorCaption" kind="captions" label="English" srclang="en" src='data:plain/text;charset=utf-8,"WEBVTT\n\n 00:00:00.000 --> 00:00:01.000 ZoneMinder"' default/>
|
||||
Your browser does not support the video tag.
|
||||
</video>
|
||||
|
|
Loading…
Reference in New Issue