944,035 Members | Top Members by Rank

Ad:
  • ASP Discussion Thread
  • Unsolved
  • Views: 1348
  • ASP RSS
Jun 22nd, 2007
0

video streaming

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
caleno is offline Offline
2 posts
since Jun 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP Forum Timeline: Using info from other asp pages?
Next Thread in ASP Forum Timeline: Remove index.asp from Root url





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC