SCORM Cloud courses with external media/video streaming

Apr 22, 2020  ยท  4790 views

This tutorial focuses on how to have SCORM course media in external systems like cloud video streaming systems.

If you are looking for creation/uploading a course to SCORM Cloud then go through this post: Uploading/launching a course in SCORM Cloud using C# .NET

###Course media content on external cloud instead of SCORM cloud

When we are uploading a course to SCORM cloud, we normally upload the media files like Videos to ScormContent folder. If the media/video file size is huge, we might need more SCORM cloud space. Also it may require more time to download the video from SCORM Cloud when the course is being played.

To overcome this we can place the video files in an external cloud which supports media streaming. Here are the advantages of this practice.

  • The media/video files are maintained separately and hence can be used by multiple systems not just the SCORM.
  • If the media file size is huge, due to the video streaming service, the course can be played quickly without waiting for complete file download.
  • Even if your SCORM account expires, your media files are still with you on the external cloud.

How to do?

I'l be concentrating only on the code changes required to trigger a media from external systems. If you want to see the complete course creation/Uploading/launching steps go through this post - Uploading/launching a course in SCORM Cloud using C# .NET

Here we still upload the course zip files to SCORM cloud, but the source of the media will be pointing to external cloud. Follow the below steps to do the same.

  1. Usually when a SCORM Cloud uploaded course is launched, "/scormdriver/indexAPI.html" is the file which which gets triggered. If we open this file, we can find the below line.

     strContentLocation = "../scormcontent/index.html";  //Put the link to the start of the content here.

    It says that load everything from index.html file. So do not update the "/scormdriver/indexAPI.html" file instead open the "scormcontent/index.html" and update it.

  2. Open the file scormcontent/index.html. It will be a simple html file with sample text "Your content goes in the scormcontent folder.". Just below this add a iframe with some saple video and video player and save it as shown below.

     <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "">
     Your content goes in the scormcontent folder.
     <iframe src="//" name="azuremediaplayer" scrolling="no" frameborder="no" align="center" height="280px" width="500px" allowfullscreen></iframe>

    Note: The iframe and the video is a sample video using azure player here -

  3. Make all the necessary changes and upload the course (.zip file) to SCORM Cloud and then launch the course. You see the sample video playing as part of your course.

    Note: Here we have used an iFrame. Instead we can use more complex logic to include a html5 video tag or a DASH player and stream the video from external streaming services to your SCORM course.

Hope it helps! Please comment your thoughts or suggestions



A Software Engineer by profession, a part time blogger and an enthusiast programmer. You can find more about me here.

Post a comment

Thank you! You are now subscribed.

Sign up for our newsletter

Subscribe to receive updates on our latest posts.

Thank you! You are now subscribed.