Solved

Validation (w3.org) question ..

Posted on 2004-10-21
334 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
Question by:Eternal_Student
    2 Comments
     
    LVL 49

    Accepted Solution

    by:
    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
    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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Suggested Solutions

    Title # Comments Views Activity
    Library to convert Markdown to HTML 2 53
    Wordpress Changes urls 6 20
    Automatic Image Uploading 9 29
    buying a domain 9 24
    Most of the sites are being standardized with W3C Web Standards. W3C provides lot of web standard services to the web. They have the web specification, process and documentation for all the web standards. You can apply HTML, CSS and Accessibility st…
    Preface This article introduces an authentication and authorization system for a website.  It is understood by the author and the project contributors that there is no such thing as a "one size fits all" system.  That being said, there is a certa…
    This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
    The viewer will learn how to count occurrences of each item in an array.

    933 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

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now