Monday, August 20, 2012

W3C valid code to embed the flash file

As we know many of us have struggled with this issue. After few days of searching , I came to know that w3c doesn't consider embed code and it consider that as an error.

So at-last I came up with a solution in few lines and I was on cloud 9 when I saw my webpage validation result in green line ...;)

Here is the simple lines to embed your flash files

<object type="application/x-shockwave-flash" data="yourflashfile.swf" width="" height=""> 
<param name="movie" value="yourflashfile.swf" />
</object>

Hope this will help you!!

2 comments:

  1. in your post multiple-background

    you mentioned multiple background at a time but in the fiddle it loads only one image. am i misunderstood any concept?

    ReplyDelete
  2. I have mentioned multiple background but not multiple images. That concept is to add the gradient bg and bg image to the same element with cross browser compatibility.
    And thanks for your thought, I have now added the multiple image code also. You can check now

    ReplyDelete