31
General Discussion / Re: MiniClip Game Embed Code
« Last post by outlaw16151 on October 06, 2015, 12:51:02 AM »Rajat? do it like this...
put this in the game code in the admin section when you add a new game.
<div class="miniclip-game-embed" data-game-name="agar-io" data-theme="0" data-width="1100" data-height="1000" data-language="en"><a href="http://www.miniclip.com/games/agar-io/">Play agar.io</a></div>
<p style="text-align:center;"><a href="http://www.miniclip.com/games/agar-io/" target="_blank">Play agar.io</a> / More <a href="http://www.miniclip.com/games/genre-2/" target="_blank">Multiplayer games</a></p>
next and you only have to do this once after you have added this line.
Put this between <head> </head> of template.php
<script src="//static.miniclipcdn.com/js/game-embed.js"></script>
put this in the game code in the admin section when you add a new game.
<div class="miniclip-game-embed" data-game-name="agar-io" data-theme="0" data-width="1100" data-height="1000" data-language="en"><a href="http://www.miniclip.com/games/agar-io/">Play agar.io</a></div>
<p style="text-align:center;"><a href="http://www.miniclip.com/games/agar-io/" target="_blank">Play agar.io</a> / More <a href="http://www.miniclip.com/games/genre-2/" target="_blank">Multiplayer games</a></p>
next and you only have to do this once after you have added this line.
Put this between <head> </head> of template.php
<script src="//static.miniclipcdn.com/js/game-embed.js"></script>