*

Recent

Author Topic: MiniClip Game Embed Code  (Read 7878 times)

rajat

  • Newbie
  • *
  • Posts: 18
  • Force: +0/-0
MiniClip Game Embed Code
« on: October 03, 2015, 05:56:52 AM »
Is there any way to embed miniclip game in fas because miniclip code is like

<!-- Place this code where you'd like the game to appear -->
<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>

<!-- Insert this code before your </body> tag -->
<script src="//static.miniclipcdn.com/js/game-embed.js"></script>

http://www.xdaonline.com


outlaw16151

  • Jr. Member
  • **
  • Posts: 54
  • Force: +0/-0
    • OutlawsGameroom
Re: MiniClip Game Embed Code
« Reply #1 on: October 03, 2015, 10:28:08 AM »
Yes you can, I do it all the time.
 Go to your admin, add new game, use enabled code.
Paste that code in the box that says. " game code"



rajat

  • Newbie
  • *
  • Posts: 18
  • Force: +0/-0
Re: MiniClip Game Embed Code
« Reply #2 on: October 04, 2015, 10:16:58 AM »
oo Thankew outlaw, i didn't trid full code


rajat

  • Newbie
  • *
  • Posts: 18
  • Force: +0/-0
Re: MiniClip Game Embed Code
« Reply #3 on: October 04, 2015, 10:20:50 AM »
can i remove those text coming down bellow game..?


outlaw16151

  • Jr. Member
  • **
  • Posts: 54
  • Force: +0/-0
    • OutlawsGameroom
Re: MiniClip Game Embed Code
« Reply #4 on: October 05, 2015, 08:23:52 PM »
Yep


outlaw16151

  • Jr. Member
  • **
  • Posts: 54
  • Force: +0/-0
    • OutlawsGameroom
Re: MiniClip Game Embed Code
« Reply #5 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>

rajat

  • Newbie
  • *
  • Posts: 18
  • Force: +0/-0
Re: MiniClip Game Embed Code
« Reply #6 on: October 08, 2015, 11:41:51 AM »
i removed <p> to </p>

This all and now its working for me :)