PDA

View Full Version : HTML / Javascript / QuickTime Problem...



cwaldenor
10-27-2006, 12:23 PM
Hey there,
Im new here, registered since I had the following problem...

Since the new update on IE , it handles QuickTime and other ActiveX controls in a new way. Rather than automatically rendering and displaying QuickTime content, the updated browser prompts the user to confirm each QuickTime item on a page.

This is a problem for me since I am designing a website right now, including a QuickTime .mov-file
(a 360 degree panorama "movie" ). However, Apple has annonced a way to fix this problem on their website (http://developer.apple.com/internet/ieembedprep.html). Although I have followed the steps
featured in the tutorial, it noesn't work for me! PLEASE HELP ME WITH THIS! My employer will kill me,
if I don't publish the website featuring this .mov-file!

Here's my code BEFORE:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
background-image: url(../background.jpg);
background-repeat: no-repeat; background-position:top;
margin-top: 0px;
}
-->
</style></head>

<body>
<div align="center"><img src="../underlankar2.jpg" width="800" height="15" />
</div>
<p align="center">
<object classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,0,0" width="500" height="400" title="Panorama Bild">
<param name="src" value="../PanoramaInne.mov" />
<embed src="../PanoramaInne.mov" pluginspage="http://www.macromedia.com/shockwave/download/" width="500" height="400"></embed>
</object>
</p>
</body>
</html>

My version of the code AFTER the tutorial: (is it wrong in any way?)


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script src="../html/InsertMovie.js" language="JavaScript" type="text/javascript"></script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
background-image: url(../background.jpg);
background-repeat: no-repeat; background-position:top;
margin-top: 0px;
}
-->
</style></head>

<body>
<div align="center"><img src="../underlankar2.jpg" width="800" height="15" />
</div>
<p align="center">
<script language="JavaScript"type="text/javascript" >InsertSampleMovie();</script>
</p>
</body>
</html>

----------
As told in the tutorial, you are to create a .js-file. However, I am not certain that I did it the correct way! Can anyone create the code, with the tutorial as help, for the ENTIRE file, and post it here?!