Jump to content

Valid XHTML issue


calvin182

Recommended Posts

I made a post about this is the multimedia > flash topic but got no responce, maybe somebody here can help me.Is there a way to have flash on a page while meeting XTHML 1.0 Transitional standards and maintaining browser compatability with FireFox and IE? It seems like one or the other. I've got compatability at the moment but I really would like that XHTML 1.0 Transitional to be working error free. Here's what I got:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="780" height="450" title="flashtitle">  <param name="movie" value="http://www.domain.com/flash.swf">  <param name="quality" value="high">  <embed src="http://www.domain.com/flash.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="780" height="450"></embed></object>

any ideas how to achieve both? I think firefox likes embed but XHTML doesnt :)

Link to comment
Share on other sites

As per W3schools standards <object> should be used instead of <embed>

Yes, easier said then done. Have you ever tried this...not easy to get it to work normally.This article will walk you through it. As you will see it iwas not an easy thing to figure out.http://www.alistapart.com/articles/flashsatay/
Link to comment
Share on other sites

yes that is a usefull article, I have read it a few times already in hopes of finding the answer but the problem is that I must make a specially sized container clip for each proportionally sized .swf I have. That alone doen't seem to be a huge hasle in itself, but the way flash plays on my site will not work with this I do not believe because my clips are dynamically loaded into a template and the code is the same for every flash displayed.I suppose if there's no other way I will have to write a script to determine which container clip to use depending on the size of the clip being loaded. Thank you for your help.EDIT: i went ahead and made multiple container clips and I'm pretty satisfied with the outcome so thanks again, everything works fine :)

Edited by calvin182
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...