PDA

View Full Version : <object> & QuickTime


tomreiter
01-20-2002, 08:22 AM
I'm trying to embed a QuickTime movie, using the <object> and <param> tags. I can't use the <embed> tag, as the site I'm building conforms to XHTML Strict.

I've tried the following code, but nothing appears in the browser.

...
<body>

<object type="video/quicktime" width="320" height="256">
<param name="src" value="product.mov" />
<param name="cache" value="true" />
<param name="autoplay" value="true" />
<param name="controller" value="true" />
</object>

</body>
...

I would really appreciate any help you could provide.

Cheers.

Jason
01-20-2002, 02:44 PM
Have you checked it in both IE and NS? Does it work in one and not the other?

tomreiter
01-21-2002, 01:38 AM
I've tested it in the following browsers (all on the Mac).

Internet Explorer 5.1
Mozilla 0.9.7
Netscape 6
Opera 5

None of them display the video. =(

TriangleJuice
07-22-2005, 02:12 PM
<object type="video/quicktime" data="yourMovie.mov" width="360" height="256"> <!-- Pay attention for the extra 16 pixels for the controller! -->
<img src="yourPic.jpg" width="360" height="286" alt="QuickTime required" />
<param name="src" value="yourMovie.mov" />
<param name="autoplay" value="true" />
<param name="controller" value="true" />
</object>

This code works except for the image tag (if the QuickTime plugin shouldn't be installed). Anyone any suggestions? I know it works with Flash movies.

Jasper.

_Aerospace_Eng_
07-22-2005, 05:37 PM
Looks good but this thread is nearly 3 years old please check the thread dates before you post.