Showing posts with label embed error in validator. Show all posts
Showing posts with label embed error in validator. Show all posts

Saturday, June 9, 2012

w3c markup validation error when using swf

error eg:
  • element "embed" undefined
  • there is no attribute "src"
Solution
Remove the embed tag and write object like

<object type="application/x-shockwave-flash" data="file.swf" width="500" height="300">
<param name="movie" value="file.swf" />
<param name="quality" value="high" />
</object>