Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Embed with valid xhtml?



(I am sorry if this posting is slightly OT, but I couldn't find a
better list to post to)

Using the object tag to embed QT-content in a web page, consider this
code:

<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
codebase="http://www.apple.com/qtactivex/qtplugin.cab"; width="180"
height="130">
		<param name="src" value="stillImage.mov" />
		<param name="type" value="video/quicktime" />
		<param name="href" value="movie.mov" />
		<param name="target" value="quicktimeplayer" />
		<param name="autoplay" value="true" />
		<param name="controller" value="false" />
</object>

The purpose with this code is to, when the page loads, display a
still image (stillImage.mov) and when that image is clicked launch
quicktime player and play the movie (movie.mov).

This code validates as xhtml and works in some browsers, but not
all:-(

Browsers it works in:
Omniweb (OW seems to be case sensitive, upper case does not work)
WinIE6/XP

Browsers it does not work in:
MacMozilla
MacIE
WinMozilla
WinOpera (but Opera seems to have a general problem with the QT
plug-in...)


On the same page I have a little interactive movie where the object
code looks like this:

<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
codebase="http://www.apple.com/qtactivex/qtplugin.cab"; width="320"
height="320">
		<param name="SRC" value="interactive.mov" />
		<param name="TARGET" value="quicktimeplayer" />
		<param name="autoplay" value="true" />
		<param name="controller" value="false" />
		<object data="planetrise.mov" type="video/quicktime"
height="320" width="320">
</object>

I.e., there is no movie 'behind' to load.

This movie works in all browsers, so obviously the problem is with
the movie that should load when the still image is clicked.

Apple's site is not much of a help, they just suggest non valid code
(embed...)

What "\?!"* me off most is that this code works in MacIE as well as
Mozilla (both Mac and Win):

<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab"; width="180"
height="130">
	<PARAM name="SRC" VALUE="stillImage.mov">
	<PARAM name="HREF" VALUE = "movie.mov">
	<PARAM name="TARGET" VALUE="quicktimeplayer">
	<param name="autoplay" value="true">
	<param name="controller" value="false">
	<EMBED SRC="stillImage.mov"
		  width="180"
		  height="130"
		  type="video/quicktime"
		  autoplay="true"
		  controller="false"
		  HREF = "movie.mov"
		  TARGET = "QuickTimePlayer"
		  PLUGINSPAGE =
"http://www.apple.com/quicktime/download/";>
	</EMBED>
</OBJECT>

(note that I mix the attributes case in this code)


Any ideas? I just want to write standard compliant code for standard
compliant browsers. Am I missing something or is it time for me to
realize that WinIE and Omniweb are better on following the standards
than Mozilla?


A final note: there are some odditites with the web server (Apache),
all my pages are coded in UTF8, but the server declares them as ISO
8859-1 (latin 1, that is)

Any ideas?

Thanks
_______________________________________________
quicktime-talk mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/quicktime-talk
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.