/    Sign up×
Community /Pin to ProfileBookmark

Validation Problems

I’ve been trying to validate a page that I’ve been working on and I can’t seem to validate it completely. All the problems with validation occur at the part at which I am embeding a flash movie in the website.
The part at which I’m embedding the flash movie is here.

[code=php]
<object classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″ codebase=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0″ width=”174px” height=”106px” id=”myMovieName”>
<param name=”movie” value=”Slide2.swf” />
<param name=”quality” value=”high” />
<param name=”bgcolor” value=”#FFFFFF” />
<EMBED src=”Slide2.swf” quality=”high” bgcolor=”#FFFFFF” width=”186px” height=”113px” name=”Slide” type=”application/x-shockwave-flash” pluginspace=”http://www.macromedia.com/go/getflashplayer”>
</EMBED></object>

[/code]

I attached the entire page as well.

Thanks for all your help!
-Travis

[upl-file uuid=01029b7b-4f84-4f64-92ba-033398f89ae5 size=68kB]webpage.ZIP[/upl-file]

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@WebJoelJan 09.2007 — I think that the <embed> tag is deprecated and that is what is throwing the validation warning. The <embed> tag can be replaced with a 'newer' method...

See:

http://alistapart.com/articles/byebyeembed

For a possible solution.

?
Copy linkTweet thisAlerts:
@yodasw16Jan 09.2007 — You should also look into [URL=http://blog.deconcept.com/swfobject/]SWFObject from deconcept[/URL] which works really well. It uses an external javascript file to insert the <embed> tags that aren't valid xhtml. Also has a lot of flashvars that can be added.

Here is an explanation why the developer believes it to be [URL=http://blog.deconcept.com/swfobject/#whyitsbetter]better than the rest.[/URL]

I use this all of the time. Very easy, gets rid of the validation problems, can detect if the user has the proper flash plugin and display literally any alternate text or code if the plugin isn't up to date.
×

Success!

Help @TravisMath spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...