jeddi
12-22-2009, 12:55 PM
I was just validating my video web page and it
came up with 11 errors.
All of them are due to this code:
<embed flashVars="playerVars=showStats=no|autoPlay=yes|videoTitle=<?php echo $title ?>"
src="<?php echo $vid_link ?>"
width="700" height="604" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" allowFullScreen="false" allowScriptAccess="always" name="Metacafe">
</embed>
These are the errors:
Attribute "FLASHVARS" is not a valid attribute
Attribute "SRC" is not a valid attribute. Did you mean "src"?
Attribute "WIDTH" is not a valid attribute. Did you mean "width"?
Attribute "HEIGHT" is not a valid attribute. Did you mean "height"?
Attribute "WMODE" is not a valid attribute. Did you mean "code" or "frameborder"?
Attribute "PLUGINSPAGE" is not a valid attribute
Attribute "TYPE" is not a valid attribute. Did you mean "type"?
Attribute "ALLOWFULLSCREEN" is not a valid attribute
Attribute "ALLOWSCRIPTACCESS" is not a valid attribute
Attribute "NAME" is not a valid attribute. Did you mean "name"?
element "EMBED" undefined. Did you mean "meta" or "em"?
Half of these are very strange eg Attribute "SRC" is not a valid attribute. Did you mean "src"? and Attribute "WIDTH" is not a valid attribute. Did you mean "width"? Since what it suggests is what is in the code anyway !
This is the embed code taken from Metacafe so I don't see that I should be changing it - but I would like my webpage to be valid :confused:
came up with 11 errors.
All of them are due to this code:
<embed flashVars="playerVars=showStats=no|autoPlay=yes|videoTitle=<?php echo $title ?>"
src="<?php echo $vid_link ?>"
width="700" height="604" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" allowFullScreen="false" allowScriptAccess="always" name="Metacafe">
</embed>
These are the errors:
Attribute "FLASHVARS" is not a valid attribute
Attribute "SRC" is not a valid attribute. Did you mean "src"?
Attribute "WIDTH" is not a valid attribute. Did you mean "width"?
Attribute "HEIGHT" is not a valid attribute. Did you mean "height"?
Attribute "WMODE" is not a valid attribute. Did you mean "code" or "frameborder"?
Attribute "PLUGINSPAGE" is not a valid attribute
Attribute "TYPE" is not a valid attribute. Did you mean "type"?
Attribute "ALLOWFULLSCREEN" is not a valid attribute
Attribute "ALLOWSCRIPTACCESS" is not a valid attribute
Attribute "NAME" is not a valid attribute. Did you mean "name"?
element "EMBED" undefined. Did you mean "meta" or "em"?
Half of these are very strange eg Attribute "SRC" is not a valid attribute. Did you mean "src"? and Attribute "WIDTH" is not a valid attribute. Did you mean "width"? Since what it suggests is what is in the code anyway !
This is the embed code taken from Metacafe so I don't see that I should be changing it - but I would like my webpage to be valid :confused: