juice1 Posted June 28, 2009 Report Share Posted June 28, 2009 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 More sharing options...
Ingolme Posted June 29, 2009 Report Share Posted June 29, 2009 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 More sharing options...
juice1 Posted June 29, 2009 Author Report Share Posted June 29, 2009 Oh yea the object tag!Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now