Make mp4 link download

download instead of view
This commit is contained in:
digital-gnome
2017-11-11 12:20:07 -05:00
parent 1ae3fca599
commit 5960da0b85

View File

@@ -145,7 +145,7 @@ if ( $Event->SaveJPEGs() & 3 ) { // Analysis or Jpegs
<?php
if ( $Event->DefaultVideo() ) {
?>
<div id="downloadEventFile"><a href="<?php echo $Event->getStreamSrc(array('mode'=>'mp4'))?>">Download MP4</a></div>
<div id="downloadEventFile"><a href="<?php echo $Event->getStreamSrc(array('mode'=>'mp4'))?>" download>Download MP4</a></div>
<?php
} else {
?>