Few months back I was updating my blog and tried embedding my games on Blogger. It was a pain but somehow I managed to get them to work after much fiddling about. I am unable to embed them on WordPress at the moment because I am required to update my account to PRO so that I could install plug-ins. Yes, you need to install web player plug-ins on your WordPress account before you can even think of embedding them on your posts.
Anyway, enough rambling. Here are the HTML codes for embedding Flash & Unity web players. I am using Dropbox to host my game exe files. Have yet to try out with a different hosting site.
The files need to be place in your PUBLIC FOLDER on Dropbox. New accounts that are created on August/September/October 2012(not too sure when exactly) onwards no longer comes with that handy folder. If you have an old Dropbox account, you are in luck because it still retains the PUBLIC FOLDER function.
On with the codes! h < >
For Flash Web Player:
<object classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″ codebase=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=11,4,402,265″ height=”480″ width=”640″>
<param name=movie value=”Name of your file. (Example: game.swf)“>
<param name=quality value=high>
<embed src=”Link of the SWF file that you’ve stored on Dropbox or any file hosting website. (Example: http://dl.dropbox.com/u/01234567/game.swf)” quality=high pluginspage=”http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash” type=”application/x-shockwave-flash” width=”640″ height=”480″>
For Unity Web Player:
<object classid=”clsid:444785F1-DE89-4295-863A-D46C3A781394″ codebase=”http://webplayer.unity3d.com/download_webplayer/UnityWebPlayer.cab#version=3,0,0,0″ height=”320″ id=”UnityObject” width=”480″>
<param name=”Link of the UNITY3D file that you’ve stored on Dropbox or any file hosting website. (Example: http://dl.dropbox.com/u/01234567/WebPlayer/WebPlayer.unity3d)” value=”Name of your file. (Example: WebPlayer.unity.3d)” />
<embed id=”UnityEmbed” src=”Link of the UNITY3D file that you’ve stored on Dropbox or any file hosting website. (Example: http://dl.dropbox.com/u/01234567/WebPlayer/WebPlayer.unity3d)” width=”480″ height=”320″
type=”application/vnd.unity” pluginspage=”http://www.unity3d.com/unity-web-player-3.x” />
Hope this helps.