1
RAWR-Designs / Re: Streaming AVI MOV's not quite working
« on: November 19, 2007, 01:55:33 AM »
That did it!!! Thanks!
Steve
Steve
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
[file.avi]
<tr>
<td class="row1" align="center" valign="middle" height="50"><a href="%item-url%" class="messageimagelink"><img src="/template/icons/avi.gif" width="32" height="32" border="0"/></td>
<td class="row6h" width="100%" height="50"><span class="forumlink"> <a href="%item-url%" class="forumlink">%item-name%</a><br />
</span><span class="genmed">%comment%
</span><span class="genmed">%new%</span><script language="javascript">var top='%item-dl-count%'; if (top > 24) { document.write ("<span class=bluetext><i>File has been downloaded %item-dl-count% times now!!</i></span>") }</script></td>
<td class="row1" align="center" valign="middle" height="50"><span class="gensmall"><b>File Size:</b> %item-size% <b>Hits:</b> %item-dl-count%<br /><b>Date:</b> %item-modified%</span></td>
<td class="row1" align="center" valign="middle" height="50"><span class="gensmall"><a href="javascript:LoadMOV('http://%host%%encoded-folder%%item-url%')"><img src="/template/icons/quicklink/wmp.gif" width=24 height=24/></a><img src="/template/images/spacer.gif" width="16" height="0" /><a href="%item-url%"><img src="/template/icons/quicklink/download.gif" alt="" border="0" height="24" width="24" /></a><br /><div id="mp3%item-name%"></div></span></td>
<script language="JavaScript" type="text/javascript"> <!-- This is used to play AVI movies in a new marquee window -->
function LoadMOV(URL) {
HTMLstring='<HTML>'\n;
HTMLstring+='<HEAD>'\n;
HTMLstring+='<TITLE>Streaming Movie</TITLE>'\n;
HTMLstring+='</HEAD>'\n;
HTMLstring+='<BODY>'\n;
HTMLstring+='<center>'\n;
HTMLstring+='<EMBED src=URL width="820" height="640" scale="aspect" autoplay="true" controller="true" loop="false" bgcolor="#000000" pluginspage="http://www.apple.com/quicktime/download/">'\n;
HTMLstring+='</EMBED>'\n;
HTMLstring+='</center>'\n;
HTMLstring+='</BODY>'\n;
HTMLstring+='</HTML>';
alert(HTMLstring);
newwindow=window.open('about:blank','','left=10,top=10,width=840,height=670');
newdocument=newwindow.document;
newdocument.write(HTMLstring);
newdocument.close();
}
</script>