Quicktime streaming problem - can you help?
Posted by: neilmac
Posted on: 2007-04-12 09:51:00
Hi everyone
I would really appreciate it if someone could tell me where I am going wrong.
I am trying to stream an MP4 file here:
http://www.smallmedialarge.tv/page4/test.html
But either it doesn't play or when it does, the picture disintegrates as soon as I scroll the page.
The odd thing is it seemed to work ok when I tested it prior to posting.
I prepared the MP4 in Sorenson Squeeze and made sure the file was hinted.
I uploaded it to my DH streaming server and as (I hope) you can see here, I used the correct file structure:
<div id="movieplayer" style="display:none" align="center"> <script language="JavaScript" type="text/javascript"> QT_WriteOBJECT_XHTML('rtsp://streaming.macleanmedia.com/streaming.macleanmedia.com/SML512K.mp4', '320', '256', ''); // --> </script> </div> <div id="trigger" style="display:block" align="center"> <a href="rtsp://streaming.macleanmedia.com/streaming.macleanmedia.com/SML512K.mp4" target="_blank" onclick="javascript:document.getElementById('movieplayer').style.display='block';document.getElementById('trigger').style.display='none';return false"><img src="http://www.smallmedialarge.tv/assets/poster.jpg" alt="Click to Play" width="320" height="256" border="0" /></a> </div>
But it is still bust. (and even when I strip out the fancy stuff with the clickable poster in front, it is still bust)
Does anybody have an idea where I am going wrong?
many thanks
Neil