Having issues with your flash games? Try this code to embed them on your site instead... A Honey Bear Playhomes tip...

  • 1
  • Idea
  • Updated 7 years ago
Often when embedding a flash game on your site it kinda bugs out in certain browsers which have issue with the code that you were using to embed the flash game. Flash movies on the other hand are much simpler to embed and thus the code that you used probably would have worked fine for a video but for a game it requires a little more to make it work well in all the major browsers.

If you have the game saved in your file manager and want to embed it on your site use the following script instead for your flash games in the future. Just replace the "yourflashgame.swf" occurring twice in the code below with the individual game's actual name. Only copy the code between the <!-- and the -->

<!--

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/sh..." width="640" height="480">
<param name="movie" value="resources/yourflashgame.swf" />
<param name="quality" value="high" />
<embed src="resources/yourflashgame.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflash..." type="application/x-shockwave-flash" width="640" height="480"></embed>
</object>

-->

For certain games on your site they might require the changing of the width and height settings in the script to match the game play field. Look at the old script to locate those settings and then make the appropriate changes (twice) in the code that I provided above after changing the flash file name.

Happy site building
Ed

If the lady bears don’t find you handsome they should at least find you handy...Don't forget to share the bear....

Honey Bear Playhomes Tips and Favs in one place... A Honey bear Playhomes Tip ;)
Photo of Ed-a-Torials @ Honey Bear Playhomes

Ed-a-Torials @ Honey Bear Playhomes, Champion

  • 2582 Posts
  • 279 Reply Likes

Posted 7 years ago

  • 1
Photo of safi ullah

safi ullah

  • 142 Posts
  • 9 Reply Likes
Thanks Ed i will try this code soon on my site.
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Awesome, Ed! Thanks for the tip!