validate windows media player code

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vinpkl
    New Member
    • Oct 2008
    • 41

    validate windows media player code

    hi all

    i m trying to insert wma video in my page but it doesnt validates.

    can anybody provide me validate code for wma.

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    </head>
    
    <body>
    <embed src="parande.wma" width="400" height="400"></embed>
    </body>
    </html>
    vineet
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    embed is not a valid HTML element so it won't validate. At least not unless you use HTML5.

    Using wma is not something I've ever done, strangely enough. As an aside, you might start looking at the html5 video and audio tags for future use since they are easier to use, work on all platforms and all modern browsers (which leaves IE out of the picture for now, of course).

    Comment

    Working...