whatisaghostwriter Posted June 17, 2019 Share Posted June 17, 2019 I can't get past to the loading screen of the embedded player. Tried following all phaser tutorials. I'm trying to figure out how to get past that screen to use the api or is my project setup wrong? https://github.com/whatisaghostwriter/galaxy-pool https://imgur.com/SCTvtqR Quote Link to comment Share on other sites More sharing options...
b10b Posted June 17, 2019 Share Posted June 17, 2019 @whatisaghostwriter what is the url you are opening? e.g. https://www.facebook.com/embed/instantgames/APP_ID/player?game_url=https%3A%2F%2Flocalhost%3A8080 Are you able to successfully run the game from localhost without the facebook wrapper? Have you correctly enabled https for localhost? Quote Link to comment Share on other sites More sharing options...
whatisaghostwriter Posted June 28, 2019 Author Share Posted June 28, 2019 I got the issue solved. It all had to do with webpack's public path under output. Webpack dev server gets the same path defined there. My problem was I used path '/' instead of just ' ' which means relative to index.html. Quote Link to comment Share on other sites More sharing options...
Noel Posted June 28, 2019 Share Posted June 28, 2019 @whatisaghostwriter Thanks for sharing the solution with the community. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.