1. Hey! Guest! The 36th GMC Jam will take place between February 27th, 12:00 UTC - March 2nd, 12:00 UTC. Why not join in! Click here to find out more!
    Dismiss Notice

HTML5 Bug/fix when uploading to Kongregate with API

Discussion in 'Programming' started by Kodiqi, Jul 26, 2017.

  1. Kodiqi

    Kodiqi Member

    Feb 8, 2017
    I recently uploaded a HTML5 game (made in GameMaker Studio) to Kongregate, following the guide at help.yoygames.com. The link for the Kongregate_shell file in that guide no longer works, so I download the file from the Kongregate Developers page instead.

    The game loaded in IE fine but in Chrome would only show a black screen (I didn't test in FF or other browsers). Using the Developer tools option in Chrome, I found the error was related to the Kongregate API being considered an "insecure plugin" from an "unauthenticated source".

    To fix this issue, you need to edit the Kongregate_shell file. Find the line below...
    <script type="text/javascript" src="http://www.kongregate.com/javascripts/kongregate_api.js">
    Then change the "http://" to "https://". This will now load the file over https instead, resolving the issue.

    I'm posting this issue and solution as I wasn't able to find anything comprehensive when I was searching for it.
  2. MudbuG

    MudbuG Member

    Jun 21, 2016
    woohoo... 2 years later... and this worked for me! The shell file is available on Kongregate now, but it still has this problem where http needs to change to https. It took a lot of searching to find this post. Thanks Kodiqi!
    Kodiqi likes this.
  3. ThePropagation

    ThePropagation Member

    May 16, 2017
    Hey, do you guys have trouble with view_camera? I'm trying to put a game on Kongregate and when I set the target to HTML5, setting a camera view froze my game! Is there a workaround or alternative?
  4. EvanSki

    EvanSki King of Raccoons

    Apr 17, 2018
    You can just tell chrome to run the insecure plugin in settings

Share This Page