video streaming

Reply

Join Date: Jun 2007
Posts: 2
Reputation: caleno is an unknown quantity at this point 
Solved Threads: 0
caleno caleno is offline Offline
Newbie Poster

video streaming

 
0
  #1
Jun 22nd, 2007
had this in the javascript forum, woz refered over here

ok, i'm building a website where i want videos (quicktime .mov) available for view. the client ask that if the viewer doesn't have quicktime already installed in their system they see a still image; this is working. I've also created a poster movie (click me to play, sort of thing). this all works fine in firefox. then i open in it IE 7 and nothing. i click the stupid 'allow activex' still nothing. the most i'll ever get is the still image i've in place if the viewer doesn't have quicktime installed, but i do have quicktime on my system soo grr argh. haven't had a chance to look at in safari or opera actually i'm dreading.

heres my code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<script language="javascript" type="text/javascript" >

test=navigator.mimeTypes["video/quicktime"];
if (test)
document.writeln('<embed SRC="harryimageclick.mov" HEIGHT=330 WIDTH=450 autoplay="false" href="hp5.mov" QTSRCDONTUSEBROWSER="True" TARGET="myself" controller="false" >');
else
document.writeln("<img SRC='harryimage.jpg' HEIGHT=208 WIDTH=320>");

</script>
</head>
<body>
</body>
</html>


can anyone help? please
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the ASP Forum
Thread Tools Search this Thread



Tag cloud for ASP
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC