juice1 Posted June 28, 2009 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 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 Share Posted June 29, 2009 Oh yea the object tag!Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.