(also posted over at indiegamer.com)
Some of you have been asking how to embed pjio.com (Flash and igLoader) games on your own site and have the game launched by a button. Here's how you do it :
Embed with button launch:
Embed with automatic launch:
That's it! The script will control plugin downloads and updates.
Some of you have been asking how to embed pjio.com (Flash and igLoader) games on your own site and have the game launched by a button. Here's how you do it :
Embed with button launch:
<body> ..... <script type="text/javascript" src="http://www.pjio.com/embed_button/%GAMENAME%"></script> <a href="javascript://" onclick="initLoader()">Launch Me</a> ...... </body>
Embed with automatic launch:
<body> ..... <script type="text/javascript" src="http://www.pjio.com/embed/%GAMENAME%"></script> ...... </body>
That's it! The script will control plugin downloads and updates.