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 05-07-2006, 09:57 PM   PM User | #1
landrvr1
New to the CF scene

 
Join Date: May 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
landrvr1 is an unknown quantity at this point
Quicktime QT_WriteOBJECT Problem

Greetings all.

I'm trying to use the QT_WriteOBJECT function script as recommended by Apple, but I'm having no luck in getting my .mov file to show up. My popup html file appears, but with no movie. Here is the Apple site where I've found the technique:

http://developer.apple.com/internet/ieembedprep.html

I'm using the AC_QuickTime.js file.

Here is the code that rests within the head section:
Code:
<script src="[path]/AC_QuickTime.js" language="JavaScript" type="text/javascript"></script>
Here is my code that sits on my quicktime movie page:

Code:
<body>

<script language="JavaScript" type="text/javascript">
QT_WriteOBJECT (
  'panorama1.mov', '600', '350', '',
  'align', 'top',
  );
</script>

</body>
I know that the Quicktime movie will run when using a standard embed technique, but I'm completely baffled as to why the .mov file isn't showing up. Any help would be much appreciated. Thanks
landrvr1 is offline   Reply With Quote
Old 05-21-2006, 12:14 PM   PM User | #2
Tim66
New to the CF scene

 
Join Date: May 2006
Location: Finland
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Tim66 is an unknown quantity at this point
QT_WriteOBJECT

Hi Land'rover'

I notice several mistakes on your scripts.
The first script where you calling ac_quicktime.js the javascript attributes must be before src, like this:
<script language="JavaScript" type="text/JavaScript" src="files/AC_QuickTime.js"></script>

Second, script the end of code is:
'top', );
and if you look it again you'll see an extra comma there, so the end of code should be like this:
'top' );

I'm using the following code:
QT_WriteOBJECT
('movie',
'576', '432', '',
'type', 'video/quicktime',
'autoplay', 'true',
'controller', 'true',
'scale', 'tofit',
'emb#type', 'video/quicktime');


Regards Tim
Tim66 is offline   Reply With Quote
Old 11-29-2008, 05:22 PM   PM User | #3
Angelssin
New to the CF scene

 
Join Date: Nov 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Angelssin is an unknown quantity at this point
I'm actually having this very same problem and it's driving me crazy. I know that the code is fine because It works when I test it from my desktop, however...when I upload it to my website, it fails to display any quicktime movie (it just shows my background image instead).

Is there something I need to activate on my site or something? The only way I can get it working is by embedding it into my page, but then I have no poster movie.

Any help is much appreciated. If you'd like to take a look, it's at

http://www.angelssin.co.uk/imedia/
Angelssin 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 08:29 PM.


Advertisement
Log in to turn off these ads.