gopro / forgejs

ForgeJS is a javascript framework that unleashes immersive WebVR experiences.
https://forgejs.org/
Apache License 2.0
237 stars 60 forks source link

How to use forgejs in angularjs? #167

Open shokri opened 6 years ago

shokri commented 6 years ago

Got error when I try to run this code angularjs.controller.js var config = { "story": { "uid": "video-story", "name": "Video Story", "slug": "video-story", "description": "", "default": "scene-0", "scenes": [...] } }; var view = new FORGE.Viewer("myVid", config); index.html <div id="myVid"></div>

forgejs

rroux-gpsw commented 6 years ago

Hi shokri! I never tried angularJS. Can you try with the non minified build to see where this error come from ? It sounds like you have a scope error. Angular tells you that FORGE is not defined ?! Have a nice day!

rroux-gpsw commented 6 years ago

Hi @shokri anything new about this ? Thanks !