Need help figuring out how to emmbed java games in my website

Discussion in 'PHP' started by MisterSinister, Aug 5, 2011.

  1. #1
    I want to put into my website java games that i found on this website tripletsandus.com/80s/80s_games/java.htm,if someone teaches me how to do it i will repay him with 5$.
     
    MisterSinister, Aug 5, 2011 IP
  2. Dennis M.

    Dennis M. Active Member

    Messages:
    119
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #2
    This is a simple source copy/paste. Go to the game you want and (if you're using FireFox) try ctrl+u (otherwise, View Page Source). Find the applet code and make sure paths are appropriate. It is important to realize that archive="" must be prefixed by the site containing the archive as well as the "rom" parameter's value. For instance, this is the applet code for "Gauntlet"

    <applet name="vNES" code="AppletGui.class" alt="To play you must install the Java system - please download this FREE from http://www.JAVA.com to enable Java in your browser."  archive="http://www.free80sarcade.com/vNES_bum.jar" width="512" height="480">
    <param name="sound" value="on" /> 
    <param name="timeemulation" value="on"/ > 
    <param name="fps" value="off" /> 
    <param name="stereo" value="off" />
    <param name="rom" value="http://www.free80sarcade.com/vnes/Gauntlet.nes" /> 
    <param name="showsoundbuffer" value="off" />
    <param name="scale" value="on" /> 
    <param name="scanlines" value="off" /> 
    <param name="nicesound" value="on" /> 
    </applet>
    Code (markup):
    It is possible to download all of these items and host them on your own server, however, I am unaware of possible copyright issues, so I would recommend contacting the original owners first. Just using this applet code, however, should be fine as long as the content remains hosted on the alternate sites (i.e. code like I have listed above).

    Regards,
    Dennis M.
     
    Dennis M., Aug 5, 2011 IP
  3. exodus

    exodus Well-Known Member

    Messages:
    1,900
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    165
    #3
    You should contact the owner of the website and ask them if they could share the code with you. Are you going to pirate the code from their website? Is this what your asking us to help you with?
     
    exodus, Aug 8, 2011 IP