Thursday, August 21, 2014

WMode for embedding flash

Sometimes when embedding flash games that websites distribute, the games won't load or you may get an error message. A very likely cause for this is that you don't have wmode set to direct in your embed code.

For example:

<embed src = "movie.swf" width="750" height="600">
 
may not work,
 
If this is the case try adding wmode="direct" to the embed code,
 
<embed src = "movie.swf" width="750" height="600" wmode="direct">
 
Hope this helps you all!
 
James Grams

No comments: