hope i've the rite forum

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

Maybe this holds the key to your question.

Try asking the question at the Asp.Net forum

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.