Audio player breaks XHTML?
-
validator.w3.org gives me two types of errors, both of which seem to be related the the audio player. Here’s the link to the results page, and these are the error’s I’m getting:
ERROR TYPE 1:
document type does not allow element “p” here; missing one of “object”, “applet”, “map”, “iframe”, “button”, “ins”, “del” start-tag.…'text-align:center;display:block;'><p><object type='application/x-shockwave-fThe mentioned element is not allowed to appear in the context in which you’ve placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you’ve forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as “<p>” or “<table>”) inside an inline element (such as ““, “<span>”, or “<font>”).
ERROR TYPE 2:
ID “audioplayer1” already defined.…yer.swf' width='290' height='24' id='audioplayer1'><param name='movie' value=An “id” is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
These are appear to be incredibly simple things to fix. Are others having the same issues?
-
I’m presuming you have a WordPress.com blog? And that you’re referring to the WP.com proprietary audio player?
-
- The topic ‘Audio player breaks XHTML?’ is closed to new replies.