This would be basically implemented as an optional player that would either be turned-on by the administrator or when Moodle is being accessed on a Mobile device or tablet. This HTML5 player can be used to deliver SCORM content by users who prefer to use the HTML5 player or where the current players renders to be non-working at times - Mobile devices and tablets. The second part of the project involves adding a new HTML5 player for SCORM module. Also, this should also fix some of the SCORM 2004 Sequencing and Navigation bugs, which are currently not possible to fix because of the current YUI2 code. These regressions issues would be detected using the SCORM test harness.
#Html5 treeview code
After the YUI2 code has been written, some valuable amount of time in the project needs to be used in detect and fix any regression issues that would have creeped in during the rewrite. The project will involve rewriting this YUI2 code in module.js to YUI3 using the YUI3 treeview or better known as gallery-yui3 treeview as the major part.Īlong with other parts of the YUI2 codes that need to be re-written are the navigation buttons that are enabled/disabled in accordance with the TOC of the SCORM content. This file generates the HTML unordered list that is parsed by the YUI2 treeview code in scorm/module.js to generate the TOC. The rendering of the SCORM content and TOC object is computed using scorm/player.php. The treeview implementation of YUI library thus also helps to enable/disable the particular nodes /leaves of the tree - the TOC. SCORM 2004 lays down standards for Sequencing Navigation that enables the content developers to control how a student can navigate within the SCORM content. The TOC allows the users to navigate within the SCORM content. Of the above yui2-treeview is used to render the Table of Contents (TOC) of the SCORM content package. The current SCORM player also uses the following from the YUI2 library - yui2-resize, yui2-dragdrop, yui2-container, yui2-button, yui2-layout, yui2-treeview, yui2-json, yui2-event. The IO family of modules provide a simple API for requesting resources over HTTP and HTTPS. This has been replaced by IO Utility in YUI3. YUI2 use Connection Manager to make in-page HTTP requests through a simplified interface to the XMLHttpRequest object. Yahoo has released a new version 3 of the Yahoo! User Interface Library. The current SCORM player in Moodle makes use of YUI2. To add a new HTML5 SCORM player to SCORM module. Improve the current SCORM player by updating the YUI2 to code to YUI3.Ģ. Thus the benefits of the projects are two fold -ġ. This would also help in providing SCORM support in the HTML5 Moodle Mobile application. If time permits, code will be added to detect HTML5 support in browser and auto switch to the HTML5 player. This project will add option in SCORM settings to deliver SCORM package through new HTML5 player.
#Html5 treeview android
This would inherently help in delivering SCORM content not only on the Desktop/Laptop browser but also on Mobile devices like iPhone, Android devices and tablets like iPad, etc. Additionally, this project will also develop a new HTML5 player to deliver SCORM contents.
This will be achieved by updating the YUI2 code of the SCORM player to YUI3.
Minimal code required but watch the style names are correctly referenced.The project aims at rewriting the current implementation of the SCORM player which uses Yahoo! User Interface Library 2. Present hierarchical data on your web page as a tree view.