Jump to content

CocoonJS external link?


Recommended Posts

Hi guys


Has anyone managed to have external links from their game, wrapped with CocoonJS.


I'm using Canvas+ and can't seem to get it to work.


From the CocoonJS forums I got this ...


1. Include the CocoonJS file -> <script type="text/javascript" src="src/cocoon.js"></script>

2. Use this line for the link -> Cocoon.App.openURL("http://www.ludei.com");


When I try this, all I get is errors and what seems like CocoonJS trying to load the websites elements into the wrapper.


Thanks heaps for any help!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...