Jump to content

Embedding Swf


juice1
 Share

Recommended Posts

Hello peopleWhat is the standard in embedding a swf into a site?This is the code I used...

<embed src="displaybox.swf" width="940" height="450" alt="display_box" />

It works but it didn't pass w3 validation. Anyone know the right way?Thanks

Link to comment
Share on other sites

The object tag is the correct way to embed media.

<object data="displaybox.swf" type="application/x-shockwave-flash" width="940" height="450"><param name="src" value="databox.swf">  You need Flash Player to view this object</object>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...