ncw
asked on
WC3 compliant html for embedding flash
How can I modify the following html to make it WC3 compliant:
<embed src="img/something.swf" quality="high" type="application/x-shockw ave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
Testing at http://validator.w3.org it says "This page is not Valid HTML 4.01 Transitional!" and it says there's no attributes for src, quality, type, pluginspace, and element "EMBED" undefined.
<embed src="img/something.swf" quality="high" type="application/x-shockw
Testing at http://validator.w3.org it says "This page is not Valid HTML 4.01 Transitional!" and it says there's no attributes for src, quality, type, pluginspace, and element "EMBED" undefined.
ASKER
No difference.
<embed src="img/something.swf" quality="high" type="application/x-shockw ave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
<embed src="img/something.swf" quality="high" type="application/x-shockw
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
The full object code was:
<object classid="clsid:d27cdb6e-ae 6d-11cf-96 b8-4445535 40000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="658" height="237" id="something" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="img/something.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="img/something.swf" quality="high" bgcolor="#ffffff" width="658" height="237" name="something" align="middle" allowScriptAccess="sameDom ain" type="application/x-shockw ave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
which I think matches the 'twice cooked' method in the links.
<object classid="clsid:d27cdb6e-ae
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="img/something.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="img/something.swf" quality="high" bgcolor="#ffffff" width="658" height="237" name="something" align="middle" allowScriptAccess="sameDom
</object>
which I think matches the 'twice cooked' method in the links.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Oops, sorry about that problem with the link in my comment above. I'm new to posting here. My error.
Hi uhh-ohhh
To make a link you just type it out, no code:
http://www.domain.com
-Sam
To make a link you just type it out, no code:
http://www.domain.com
-Sam
ncw,
We have not heard you in a while. Did any of the comments answer your question? If so, please accept the appropriate comment with an excellent or good grade. If you still have a question or need additional information then please let us know so that we can help you resolve the problem.
b
We have not heard you in a while. Did any of the comments answer your question? If so, please accept the appropriate comment with an excellent or good grade. If you still have a question or need additional information then please let us know so that we can help you resolve the problem.
b
ASKER
Thank you.
The problem may be the way you are closing the tag. "/>" is used to close XHTML tags that don't have closing tags. Embed does have a closing tag and you should use it in HTML or XHTML.
<embed src="img/something.swf" quality="high" type="application/x-shockw
</embed>
This may fix the validation error. The rest of that code looks OK to me.
b0lsc0tt