I'm trying to embed a .mov video in a web page whose DOCTYPE is HTML5, the code is:
<script type="text/javascript">
QT_WritePoster_XHTML('Click to Play', '...', '...',
'400', '300', '',
'controller', 'true',
'autoplay', 'true',
'bgcolor', 'black',
'scale', 'aspect');
</script>
<noscript>
<object width="400" height="300" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab">
<param name="src" value="..." />
<param name="href" value="..." />
<param name="target" value="myself" />
<param name="controller" value="false" />
<param name="autoplay" value="false" />
<param name="scale" value="aspect" />
<embed width="400" height="300" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/"
src="..."
href="..."
target="myself"
controller="false"
autoplay="false"
scale="aspect" />
</object>
</noscript>
All works fine but I've a validation problem because in the HTML5 standard the tag "object" hasn't "classid" and "codebase" attributes!
Is there any way to fix that?
Thanks in advance!