[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Validation (w3.org) question ..

Posted on 2004-10-21
2
Medium Priority
?
372 Views
Last Modified: 2013-11-19
I have used the following code to embed a flash movie into my document:


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

But it is causing 7 errors when validating.
These are as follows:

Line 24, column 13: there is no attribute "SRC"

<embed src="images/movie.swf" quality="high" pluginspage="http://www.macromedi

You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.

&#9993;

Line 24, column 40: there is no attribute "QUALITY"

<embed src="images/movie.swf" quality="high" pluginspage="http://www.macromedi

&#9993;

Line 24, column 59: there is no attribute "PLUGINSPAGE"

...ovie.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashpl

&#9993;

Line 24, column 110: there is no attribute "TYPE"

...cromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="4

&#9993;

Line 24, column 148: there is no attribute "WIDTH"

...application/x-shockwave-flash" width="440" height="140"></embed></object>

&#9993;

Line 24, column 161: there is no attribute "HEIGHT"

...-shockwave-flash" width="440" height="140"></embed></object>

&#9993;

Line 24, column 166: element "EMBED" undefined

...kwave-flash" width="440" height="140"></embed></object>

You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element), or by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
---------------------

Can any-one clarify the CORRECT way to embed this document exactly how I have it ???
THanks FoR Ur TiMe ..
0
Comment
Question by:Eternal_Student
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 49

Accepted Solution

by:
Roonaan earned 500 total points
ID: 12372667
http://webdesign.about.com/library/tags/bltags-embed.htm as to note about it being depricated
http://www.ambience.sk/flash-valid.htm as to see how its implemented validly.

Regards

-r-
0
 
LVL 18

Author Comment

by:Eternal_Student
ID: 12372874
EXCELLENT .. so I changed it to this

----------------
<object type="application/x-shockwave-flash" data="images/movie.swf" width="440" height="140">
<param name="movie" value="images/movie.swf">
</object>
---------------
0

Featured Post

Looking for a new Web Host?

Lunarpages' assortment of hosting products and solutions ensure a perfect fit for anyone looking to get their vision or products to market. Our award winning customer support and 30-day money back guarantee show the pride we take in being the industry's premier MSP.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question