I am currently using Flash (.swf) files to illustrate how to complete a task. I want to try my hand at HTML5 since I need to make the course available to iPad users and Apple does not support Flash.
I created the HTML5 output and it resulted in an HTML5.html file as well as a 'Data' folder containing a 'fonts', an 'images' and a 'sounds' subfolder, as well as a player.js file.
How do I upload and use this in a Moodle (Moodle 2.2.2 (Build: 20120312) course? Any ideas would be welcome.
I've not tried with HTML5 files, but if I was doing this with a Flash-based publication (i.e. an index.html file or similar calling a range of other files, including the FLV or similar file) then I'd do it as follows:
- Zip up all files in the package into a file - lets call it upload.zip
- Turn editing on in the Moodle course.
- Add a 'File' from the Resources menu in the target topic.
- Give the resource a name, description etc.
- Use the 'add files' feature to upload the upload.zip file to Moodle.
- Right click on the file and select 'unzip' - this should now show the unpacked files.
- Right click on the 'main' file (in your case HTML5.html) and select 'set main file' - this will make Moodle load this file, which in turn calls the other files.
- Save and display.
Hope it works
Looks like this has been resolved by Marina now Joseph. There was already a ticket in as well - I just couldn't find it!
What can I say except for "Wow"!
Your procedure worked brilliantly the first time. Thank you very much for your trouble.
Leon (South Africa )
Thanks to Andrew Chambers for posting the request on Twitter as well tho - was the only reason I saw it.
Following the these instructions, how could I make each .html page to be traceable as a resource?
I mean, suppose I have 1.html, 2.html and 3.html. And suppose I have a link inside 1.html that points to 2.html file. And a link inside 2.html file tha points to 3.html file.
Making 1.html the main file, if I navigate (using the links) to 2.html and 3.html, the student log would show me only the 1.html visited or also 2.html and 3.html visited?
I've been using some Adobe Captivate files in SWF and now I'd like to try using HTML5 files, in order to access Moodle on iPads... I tried your process, and it did work. However, when I access the file, it opens blank, I have to click play in order to access the content. It did not happen with the SWF file, which would open right away. ready to do the steps.
I don't want to draw attention to the player bar because people could easily skip the steps and it's not what I want in this course. Especially because it would be something else to teach the user, to click on the play button (we're talking about a user that is not very patient and intuitive).
Do you know if there's a way of not having to click play? Showing the content right away?
Thanks, Melanie. I did not know I could do that. I hid all buttons, but since it doesn't play automatically, I can't see the content... Do you know if there's a way to not have to click play? Accessing the file and already being able to see the content?
When I access the file on windows, it shows right away... In moodle, it just keep happening like this...
It has been a dog's age since I did anything like this in Captivate...mostly, I use it for software tutorials which auto forward automatically (? Maybe it just likes me? That would be a first.).
But I'll give it a go. I think it auto forwards only if you don't have buttons/actions set to forward. I opened one of my old modules and slides w/o continue buttons move to the next screen when the time for the slide is elapsed.
If you click time line at the bottom of captivate, it will show you how long the slide will play. You set a slide for 30 seconds and the you can layer stuff to show in progression as the time elapses. When it hits 30, it moves to the next page. You might also check your project preferences...you can modify default slide duration...but I think navigation button set a pause after the display condition, requiring a click rather than autoforward.
I use it mostly the demonstration mode, and then I export the file as MP4...
But I have two files in the training mode, the user has to do the steps in order to continue and move forward... And then on Moodle I'm experiencing this problem with the HTML5, because the screen is blank, it doesn't show the first slide that I have on Captivate.. The user would have to click play to know what to do...
I guess there's nothing I can do.. Can't find anything like my problem anywhere or any kind of solution...
Have you tried not exporting it as an MP4 and publishing it as a scorm instead? It seems like you said something about publishing it to html5, but the export sounds...odd. Maybe SCORM would work better? That's how I publish mine. And, that sounds like Captivate! My problem (older, much older, version) back before I stopped using it for anything but software tutorials, was that it refused to show the last page. You know, the one that gave them credit.
On your first page, is there something in the settings for your text that is preventing showing? Maybe a layering issue or a show on click or something?
Melanie, I thank you so much for your time and tips... Apparently the trouble I was experiencing and describing to you was because of the browser. I was using Google Chrome, and then I tried Firefox and the problem was gone! Not a problem on captivate or moodle, but on the browser...