I created a Flash animation for a course that now needs to be viewed on iOS devices, so I used the CreateJS toolkit to output the animation to html/javascript and inserted that html page as a web object.
When I inserted the webpage, the test link worked, but it doesn't play when I publish to the web for HTML5.
Should this work? If so, what else do I need to do to make that happen?
I'm not that familiar with the output produced by CreateJS, but I would think it is more than a single HTML page. Make sure that you copy any required JS libraries and/or CSS files into your content folder after publishing. You could also upload the animation to a webserver and then link your Storyline webobject to that URL.
Thanks Michael! And, you're right, it does take more than the html file to make it all go. I have the support files in the folder, and it does play if I just open the html file in a browser window, but it doesn't play in my published Storyline course.
I also tried your suggestion of uploading the animation to a web server, with the same results - I can view the animation at the url in a browser, but not via Storyline.
Thank you Michael, for your willingness to look further, but I now have an answer!
When I opened the Storyline course in a browser locally from my hard drive, it didn't work, but when I copied the whole course folder structure to the web server and opened the link, it worked great, including the CreateJS web object!
Thank you Michael, for your willingness to look further, but I now have an answer!
When I opened the Storyline course in a browser locally from my hard drive, it didn't work, but when I copied the whole course folder structure to the web server and opened the link, it worked great, including the CreateJS web object!
Thanks for your help.
Great that you figured it out yourself! When I test something related to JavaScript, I always publish either for CD and test locally or upload to a server and test from there.
5 Replies
I'm not that familiar with the output produced by CreateJS, but I would think it is more than a single HTML page. Make sure that you copy any required JS libraries and/or CSS files into your content folder after publishing. You could also upload the animation to a webserver and then link your Storyline webobject to that URL.
Thanks Michael! And, you're right, it does take more than the html file to make it all go. I have the support files in the folder, and it does play if I just open the html file in a browser window, but it doesn't play in my published Storyline course.
I also tried your suggestion of uploading the animation to a web server, with the same results - I can view the animation at the url in a browser, but not via Storyline.
Those were good suggestions, any other ideas?
Thanks for posting.
Karen
Could you share the animation files or the URL of the version you had uploaded to a server?
Thank you Michael, for your willingness to look further, but I now have an answer!
When I opened the Storyline course in a browser locally from my hard drive, it didn't work, but when I copied the whole course folder structure to the web server and opened the link, it worked great, including the CreateJS web object!
Thanks for your help.
Great that you figured it out yourself! When I test something related to JavaScript, I always publish either for CD and test locally or upload to a server and test from there.
This discussion is closed. You can start a new discussion or contact Articulate Support.