diff --git a/web/includes/functions.php b/web/includes/functions.php index ada28dc0b..c942e69ac 100644 --- a/web/includes/functions.php +++ b/web/includes/functions.php @@ -514,7 +514,7 @@ function getEventPath( $event ) function getEventDefaultVideoPath( $event ) { $Event = new Event( $event ); - return $Event->getStreamSrc( array( "mode=mpeg" ) ); + return $Event->getStreamSrc( array( "mode=mpeg&format=h264" ) ); //$Event->Path().'/'.$event['DefaultVideo']; } @@ -599,7 +599,7 @@ function truncText( $text, $length, $deslash=1 ) return( preg_replace( "/^(.{".$length.",}?)\b.*$/", "\\1…", ($deslash?stripslashes($text):$text) ) ); } -function htmlSelect( $name, $contents, $values, $behaviors=false ) { +function htmlSelect( $name, $contents, $values, $behaviours=false ) { $behaviourText = ""; if ( !empty($behaviours) ) { @@ -611,6 +611,7 @@ function htmlSelect( $name, $contents, $values, $behaviors=false ) { $behaviourText = ' onchange="'.$behaviours.'"'; } } + $html = "