Javascript and Webobject on another network Jul 10, 2017 By Sebastien Greffet Hello, I have a course on a LMS platform, and a game in another network so when I use the code : var p = parent.GetPlayer(); it doesn't work, for security reason (cross domain security or something like this). Have you any idea to use it ? Best regards,
Brian Dennis almost 7 years ago07/10/17 at 4:17 pm (UTC) Cross domain policies are enforced by the browser, not SL. I'd suggest you look at moving your script/code to the parent so things run in the same domain. If not, CORS policy will continue to block this code
1 Reply
Cross domain policies are enforced by the browser, not SL. I'd suggest you look at moving your script/code to the parent so things run in the same domain. If not, CORS policy will continue to block this code
This discussion is closed. You can start a new discussion or contact Articulate Support.