From e9cbf53a8e7929f94e6c18633cfb729d109135ee Mon Sep 17 00:00:00 2001 From: Tracey Jaquith Date: Fri, 3 Jun 2011 21:35:58 +0000 Subject: [PATCH] Internet Archive hack #2 to this file. dog have mercy on my soul... git-svn-id: http://www.kaltura.org/kalorg/html5video/trunk/mwEmbed@2091 b58a29cf-3064-46da-94c6-1c29cc75c8e5 --- mwEmbedFrame.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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.= '';