Copy link to clipboard
Copied
I have a game that is developed using HTML5. I am trying to embed it into a captivate project. Whenever I try to publish, I get a error "Publish Failed".
I am using Insert HTML5 animation option and selecting the zip file of my game. I have tried it out using Captivate 8 and 9 trial version but no luck.
Can someone suggest what's wrong here or else if there are any guidelines/videos please point out.
Finally got it working! Turned out that the way the files were being zipped was wrong. Was zipping the root folder instead of zipping the contents of the file. Thanks everyone!
Copy link to clipboard
Copied
Is this a double post? Maybe it is someone else who posted similar question.
The animation will have to be unzipped, you cannot instruct Captivate to unzip a file at all.
Copy link to clipboard
Copied
Hi Lilybiri,
Thanks for writing in. Sorry but not sure which post you are referring to. Can you please provide me with a link for the same?
Also, I found that this was the only way of embedding external HTML5 files (oam or zip). My application is not made in Edge. So I only have zip as an option. Any other way of doing this?
Regards
Copy link to clipboard
Copied
The other post was here: I have a game that has been created as a scorm file, can I upload this into my captivate project?
If the HTML is already hosted on a server, you can also use a webobject interaction to display the game on a slide within your course.
How are planning to capture and use data from the game? Is there a final score? Pass / Fail?
Or, are you just expecting them to complete the experience before moving on?
Copy link to clipboard
Copied
Thanks for the link to the post.
If I embed it as a link with the game hosted on a webserver, it works fine. However, my client wants it embedded it as a local file. Hence, I have no option but go this route.
I am building on previous code and hence don't really need to worry about the SCORM compliance as I have only worked on the game play.
Need to figure this embedding bit though!
Copy link to clipboard
Copied
You may have better luck investigating authoring for CD-Rom distribution than for SCORM.
Embedding other content for 'local access' really sounds to me like you're preparing a CD-Rom rather than hosting the course in an LMS, as the CD would present all files as if they are on a local drive.
I'm also wondering why the content needs to be embedded into a Cp file, as opossed to copied to the published directory of the Cp project and linked via an OpenURL button?
Copy link to clipboard
Copied
No looking to have this hosted on my client's network. They intend to communicate with SCORM internally.
Can try the OpenURL button approach, if it works!! Not the intended way to make this work but something better than it not working at all!
Copy link to clipboard
Copied
I zip html files and insert them all the time. I've done hundreds of them and have never had a problem.
Is it just one html file?
Are there external links that are not getting packaged?
Copy link to clipboard
Copied
Not just one html file. Technically yes, just one html files loading multiple images and js files. Everything is in the zip file for sure.
Can you tell me step by step how you do it, if you don't mind? Really want to make sure am doing the right thing.
Copy link to clipboard
Copied
I just zip all of the files needed.
Then insert as HTML5 Animation.
There is no trick.
If there are http includes, say for jQuery, you may want to pull those into the folder as the Animation get put into an iFrame, which can cause issues, especially in Chrome.
I would open the developer tools to see if there are errors being thrown.
Copy link to clipboard
Copied
It's a really simple file. Can I send you a sample file that you can help me test?
Copy link to clipboard
Copied
Finally got it working! Turned out that the way the files were being zipped was wrong. Was zipping the root folder instead of zipping the contents of the file. Thanks everyone!