Notice: Please use our new forums, you will not be able to post on these (old) forums. http://phpdirector.co.uk/community
0 Members and 1 Guest are viewing this topic.
The Second Attempt:http://www.firedartonline.com/projects/templates/phpdirector/version_1.0-default-2/Works in:FireFox 3.5.7Safari 4.0.4Google Chrome 4Opera 10.10IE 8IE 7IE 6 (Small Png Issue)Display Issues:IE 5.5, uhh, hmmm, A browser released in July 2000, 10 years old. Must it be supported?
{if $vidtype eq "YouTube"}<!--[if !IE]> --> <object type="application/x-shockwave-flash" style="width:450px; height:366px;" data="http://www.youtube.com/v/{if $video[video].file eq ""}{$videoid}{else}{$video[video].file}{/if}&autoplay=1"> <param name="movie" value="http://www.youtube.com/v/{if $video[video].file eq ""}{$videoid}{else}{$video[video].file}{/if}&autoplay=1" /> </object><!-- <![endif]--><!--[if IE]><object width="425" height="344"> <param name="movie" value="http://www.youtube.com/v/{if $video[video].file eq ""}{$videoid}{else}{$video[video].file}{/if}&autoplay=1" /> <embed src="http://www.youtube.com/v/{if $video[video].file eq ""}{$videoid}{else}{$video[video].file}{/if}&autoplay=1" type="application/x-shockwave-flash" width="425" height="344" /></object><![endif]-->{elseif $vidtype eq "GoogleVideo"} <embed style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId={if $video[video].file eq ""}{$videoid}{else}{$video[video].file}{/if}" flashvars=""> </embed>{elseif $vidtype eq "dailymotion"} <div><object width="425" height="335"><param name="movie" value="http://www.dailymotion.com/swf/{if $video[video].file eq ""}{$videoid}{else}{$video[video].file}{/if}"></param><param name="allowfullscreen" value="true"></param><embed src="http://www.dailymotion.com/swf/{if $video[video].file eq ""}{$videoid}{else}{$video[video].file}{/if}" type="application/x-shockwave-flash" width="425" height="334" allowfullscreen="true"></embed></object></div>{elseif $vidtype eq ".swf"} <!--div><object {$video[video].file2}> <param name="movie" value="upload_files/{$video[video].file}"></param><param name="allowfullscreen" value="true"></param> <embed src="upload_files/{$video[video].file}" type="application/x-shockwave-flash" {$video[video].file2} allowfullscreen="true"></embed></object></div--><!--div id="player" style="display:block;width:425px;height:300px;"></div> <script> flowplayer("player", "upload_files/{$video[video].file}", ...); </script--> <!--link rel="stylesheet" type="text/css" href="css/style.css"--><a href="upload_files/{$video[video].file}" style="display:block;width:520px;height:330px" id="player"> </a> <!-- this will install flowplayer inside previous A- tag. --> <script> flowplayer("player", "upload_files/{$video[video].file}"); </script> <div id="flashbanner">this will be replaced by the SWF.</div><script type="text/javascript"> var so = new SWFObject('upload_files/{$video[video].file}','mpl','400','450','9'); so.addParam('allowfullscreen','true'); so.addParam("quality", "low"); so.addParam("wmode", "transparent"); so.addParam("salign", "t"); so. addParam('flashvars','file=playlist.xml&autostart=true'); so.write('flashbanner');</script>{elseif $vidtype eq ".gif"} <img src="upload_files/{$video[video].file}" {$video[video].file2}>{elseif $vidtype eq ".png"} <img src="upload_files/{$video[video].file}" {$video[video].file2}> {elseif $vidtype eq ".jpg"} <img src="upload_files/{$video[video].file}" {$video[video].file2}> {elseif $vidtype eq ".jpeg"} <img src="upload_files/{$video[video].file}" {$video[video].file2}> {elseif $vidtype eq ".wmv"}<!--[if !IE]> <--> <object type="video/x-ms-wmv" data="upload_files/{$video[video].file}" width="320px" height="240px"> <param name="src" value="upload_files/{$video[video].file}" valuetype="ref" type="upload_files/{$video[video].file}"> <param name="animationatStart" value="1"> <param name="transparentatStart" value="1"> <param name="autoStart" value="1"> <param name="ShowControls" value="0"> <param name="ShowDisplay" value="0"> <param name="ShowStatusBar" value="0"> <param name="loop" value="0"> <param name="displaysize" value="0"> <strong>Error:</strong> Embedding <a href="upload_files/{$video[video].file}">upload_files/{$video[video].file}</a> with the <a href="http://www.microsoft.com/windows/windowsmedia/download/plugin.aspx">Windows Media Plugin</a> failed. </object><!--> <![endif]--><!--[if IE]><!-- begin embedded WindowsMedia file... --> <tr><td><object id='Media1' height='450' width='400'classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'> <PARAM NAME='FileName' VALUE='upload_files/{$video[video].file}'> <PARAM NAME='ShowControls' VALUE='0'> <PARAM NAME='ShowStatusBar' VALUE='0'> <PARAM NAME='AutoSize' VALUE='0'> <PARAM NAME='AutoStart' VALUE='1'> <PARAM NAME='fullscreen' VALUE='1'> <PARAM NAME='enableContextMenu' VALUE='0'> <PARAM NAME='invokeURLs' VALUE='0'></object> <br></td></tr> <!-- ...end embedded WindowsMedia file --> <!-- begin link to launch external media player... --> <tr><td align='center'> <br><a href="upload_files/{$video[video].file}" style='font-size: 85%;' target='_blank'>Launch in external player</a> <!-- ...end link to launch external media player... --> <br></td></tr> <br><![endif]-->{elseif $vidtype eq ".Mp3"}<embed src= "http://www.odeo.com/flash/audio_player_standard_gray.swf" quality="high" width="300" height="52" allowScriptAccess="always" wmode="transparent" type="application/x-shockwave-flash" flashvars= "valid_sample_rate=true&external_url=upload_files/{$video[video].file}" pluginspage="http://www.macromedia.com/go/getflashplayer"> </embed><br><br><br><!-- MP3 Audio Files --><!--embed src="upload_files/{$video[video].file}" type="audio/x-mpeg" hidden="false" autostart="true" loop="true" height="40" width="140"></embed--><embed src="upload_files/{$video[video].file}" width="140" height="40" autostart="false" loop="FALSE"> </embed><br /><!-- MP3 Audio Files --><!--embed src="upload_files/{$video[video].file}" type="audio/x-mpeg" hidden="FALSE" autostart="true" loop="true" height="40" width="140"></embed><br-->{elseif $vidtype eq ".wav"}<embed src= "http://www.odeo.com/flash/audio_player_standard_gray.swf" quality="high" width="300" height="52" allowScriptAccess="always" wmode="transparent" type="application/x-shockwave-flash" flashvars= "valid_sample_rate=true&external_url=upload_files/{$video[video].file}" pluginspage="http://www.macromedia.com/go/getflashplayer"> </embed><br><br><br><embed src="upload_files/{$video[video].file}" width="140" height="40" autostart="false" loop="FALSE"> </embed><!--{elseif $vidtype eq ".swf"}<object width="Width in Pixels" height="Height in Pixels" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"> <param name="salign" value="lt"> <param name="quality" value="high"> <param name="scale" value="noscale"> <param name="wmode" value="transparent"> <param name="movie" value="http://geekfile.googlepages.com/flvplay.swf"> <param name="FlashVars" value="&streamName=upload_files/{$video[video].file}&skinName=http://geekfile.googlepages.com/flvskin&autoPlay=true&autoRewind=true"> <embed width="Width in Pixels" height="Height in Pixels" flashvars="&streamName=upload_files/{$video[video].file}&autoPlay=true&autoRewind=true&skinName=http://geekfile.googlepages.com/flvskin" quality="high" scale="noscale" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" src="http://geekfile.googlepages.com/flvplay.swf" wmode="transparent"> </embed></object-->{elseif $vidtype eq ".mov"}<!-- QuickTime Movies --><u><embed src="upload_files/{$video[video].file}" border="0" width="440" height="440" pluginspage="http://www.apple.com/quicktime/download/"></embed><br /></u><!--EMBED SRC="upload_files/{$video[video].file}" WIDTH="400" HEIGHT="440"QTNEXT1="</quicktime/movies/sample.mov> T<myself>"QTNEXT2="<rtsp://www.apple.com/quicktime/movies/sample.mov> T<myself>"QTNEXT3="<URL> T<myself>"QTNEXT4="GOTO0"-->{elseif $vidtype eq ".avi"}<object id="mediaPlayer" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject"> <param name="fileName" value="upload_files/{$video[video].file}"> <param name="animationatStart" value="1"> <param name="transparentatStart" value="1"> <param name="autoStart" value="1"> <param name="autoSize" value="1"> <param name="showControls" value="1"> <param name="loop" value="0"> <param name="ShowDisplay" value="0"> <param name="ShowStatusBar" value="1"> <embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/" filename="upload_files/{$video[video].file}" src="upload_files/{$video[video].file}" name=NSPlay showcontrols=1 showdisplay=0 showstatusbar=1> </embed> </object>{else}This video type is currently unsuppotred{/if}