Giter Site home page Giter Site logo

greenpeace / gpes-html5-scorm-presentation Goto Github PK

View Code? Open in Web Editor NEW
23.0 6.0 9.0 339 KB

Create a presentation using html5. Use it independently or upload it as an elearning SCORM package.

Home Page: https://greenpeace.github.io/gpes-html5-scorm-presentation/

License: MIT License

CSS 20.44% HTML 12.29% JavaScript 56.06% SCSS 11.21%
elearning scorm presentation html5 moodle-activity

gpes-html5-scorm-presentation's Introduction

About gpes-html5-scorm-presentation

Tool and template to create presentations using html and reveal.js.

  1. Create presentations for Greenpeace, like this example.
  2. Share your presentations as a SCORM package in Moodle or any other LMS that supports them.

This repository is also an example on how to convert html5 web apps into elearning SCORM packages.

The included presentations were tested in Moodle 3.5 and it displays well. Please test your own work with a demo course before you use it in real training.

Create a presentation

  1. Download this repo as a zip. Unzip and name it with your presentation folder name.
  2. Edit the file index.html with a text editor like Brackets. For more information on how to create slides, check the reveal.js tool. If you want to create a questions presentation you can edit questions.html and js/questions.js as an example.

You can use this repository just to create your presentations and in that case you don't need to convert your presentation to SCORM. But if you need your content in the SCORM format, to upload it to a LMS like Moodle, follow the instructions bellow.

Create an elearning SCORM package with your presentation(s)

1 - Link and configure

Once you have finished your presentation, uncomment this html line in index.html (line 25):

<script src="js/scormfunctions.js"></script>

You should also customise the score for opening the presentation and the minimum time to be considered complete. Just change the variables in lines 22 and 23.

  • The score is added when the user leaves the page or finishes the lesson and should be between 0 and 100.
  • The minCompletedTime is the minimum ammount of time (in seconds) for the presentation to be considered complete.
<script>
    var pageScore = 1;
    var minCompletedTime = 30;
</script>

If you create more than one html presentation, you should do this step in all your html files.

2 - Edit the table of contents

You can have multiple html pages in the same SCROM package. This example has two, index.html and questions.html.

To add or remove them to the table of contents you need to modify imsmanifest.xml with a text editor like Brackets. Look at the examples in the sections <organizations> <item> and <resources> of this xml. And edit it carefully!

3 - Package and upload

Create the SCORM package (a zip file):

cd presentation-folder
zip -r mypresentation.zip *

Upload mypresentation.zip to Moodle, as a SCORM package. (It should work with any Learning Management System that supports SCORM)

Create SCORM packages with your own html5 project

If, instead of using the presentations, you just want to convert your html5 app to SCORM:

  1. Copy imsmanifest.xml and scormfunctions.js to your project. imsmanifest.xml has to be placed in the project root.
  2. Edit imsmanifest.xml
  3. Define the page score and link to scormfunctions.js with a script tag in each html file: <script> var pageScore = 1; var minCompletedTime = 30; </script> <script src="js/scormfunctions.js"></script>
  4. Create your SCORM package by ziping your project as explained above.

gpes-html5-scorm-presentation's People

Contributors

osvik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

gpes-html5-scorm-presentation's Issues

Tracking of interactions not working

In Moodle, the only one I've tested, the tracking of interactions doesn't work.

The script js/scormify.js works but Moodle doesn't seem to be recording the interactions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.