We have a whole catalogue of videos which we would like to stream to an iphone for showing on the move, this would be done inside the iphone's safari browser.
For some reason I have not been able to find anything decent online to show how this is done, we have the videos converted to formats the iphone can see .m4v and .3gp (both converted using quicktime)
But i'm not sure how to embed the videos in a webpage so that the iphone can open them in the built in quick time player.
I attempted the code below, but safari returns an error stating "safari is unable to download this file"
<script src="AC_QuickTime.js" language="JavaScript" type="text/javascript"></script>
<script language="javascript">
<!--
var ua = navigator.userAgent ;
if (ua.indexOf("iPhone") > 0) document.location.replace("iolliecell.3gp");
self.moveTo(0,0);
self.resizeTo(screen.width,window.screen.availHeight);
//-->
</script>
<script language="javascript">
QT_WriteOBJECT('ollie.mp4', '100%','95%', '', 'autoplay', 'true', 'bgcolor', 'black', 'scale', 'aspect');
</script>