Yet another question from me :D

  • 1
  • Question
  • Updated 9 years ago
  • Answered
Hi all,
as you know i have got brilliant answers from the yola community over the last year.
Now heres another i would be happy to recieve.

If i go to www.freegamesforyourwebsite.com
and download a game file in a zip
i upload the files to yola i believe this includes a JS,flash and html
How do i put the game onto my site.
If i embeb the flash file on its own it doesnt seem to work.

Thanks
John Mc

www.theteenscene.info
www.sleightsinfo.co.uk
www.yolafinds.yolasite.com
www.jmwebdesign.yolasite.com
Photo of John McCarthy

John McCarthy

  • 1292 Posts
  • 99 Reply Likes
  • happy

Posted 9 years ago

  • 1
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hello John Mc

I took look-see at the game site you posted. I don't know if you realized this or not but the games all have an HTML code which allows you to embed using iframes. This may be an easier way to go?

I've attached as screenshot to show you where you can locate the HTML code.



Perhaps you have another reason why you're wanting to download the files and upload to your site? If this is still the route you want to take, I'll have to get back to you on how to use all 3 simultaneously.
Photo of John McCarthy

John McCarthy

  • 1292 Posts
  • 99 Reply Likes
Hi Sanja,I currently do this but there is a few problems at the moment with games not loading due to problems at the providing website.This is starting to annoy me as i have been swapping and changing games.
Another reason is Mochi media provide comission for placing games from them our your website.
But these games inlcude a .swf and a .json file
Any help will be gratefully recieved.
Thanks
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Thanks for letting me know John. I will need to research this further and get back to you.
Photo of John McCarthy

John McCarthy

  • 1292 Posts
  • 99 Reply Likes
Thanks For Your Help Sanja
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hi John Mc

Try this:

1. Create a folder in your file manager. Let's call this games.
2. Upload your zipped game into that folder. Then unzip your games.
3. Drag over an HTML widget and paste in the following code:

<object width="500" height="400"> <param name="movie"value="resources/games/yourgamename.swf"> <embed src="resources/games/your gamename.swf"width="500"height="400"/> </object>

Replace "yourgamename" with the name of your game.

I hope this helps! I was able to get this working on my test site. Please let me know if it doesn't seem to work for you.
Photo of John McCarthy

John McCarthy

  • 1292 Posts
  • 99 Reply Likes
Thanks Sanja,
I realised that the mochimedia files included a json which contained information and descriptions which arent required.
Im gonna download the apcks of ten to get my site started earning money through Mochi media

Thanks
John Mc
Photo of John McCarthy

John McCarthy

  • 1292 Posts
  • 99 Reply Likes
Sorted.Started hosting games on my site to earn revenue.
Thanks Sanja.
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Great to hear John Mc. :)