diff --git a/mwEmbedFrame.php b/mwEmbedFrame.php index e39380fad4..95ba5bb2c7 100644 --- a/mwEmbedFrame.php +++ b/mwEmbedFrame.php @@ -138,7 +138,11 @@ private function getVideoTag( ){ // Output each source if( count( $this->sources ) ){ foreach($this->sources as $src ){ - $o.= ''; + $ute = (isset($_REQUEST['iaid']) && //Internet Archive + ($suffix = strrchr($src,'.')) && + ($suffix=='.ogv' || $suffix=='.mp4') ? + ' URLTimeEncoding="true"' : ''); + $o.= ''; } } $o.= '';