Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-27-2006, 12:23 PM   PM User | #1
cwaldenor
New to the CF scene

 
Join Date: Oct 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
cwaldenor is an unknown quantity at this point
HTML / Javascript / QuickTime Problem...

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:
Code:
<!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?)
Code:
<!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?!

Last edited by cwaldenor; 10-27-2006 at 12:25 PM..
cwaldenor is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:50 AM.


Advertisement
Log in to turn off these ads.