Skip to content

Moodle webGL game activity plugin with Azure blob storage and AWS s3 webGL content upload and Moodle File API.

Notifications You must be signed in to change notification settings

eLearning-BS23/moodle-mod_webgl

Repository files navigation

Moodle WebGL Activity plugin

Moodle Webgl is an activity module plugin, which provides the capability to include a webgl in a course as an activity. Administrator can upload the webgl game in the following ways:

  • Azure Blob storage WebGL content Upload
  • AWS S3 WebGL content Upload
  • Moodle Local File System API

We are constantly improving the plugin, so stay tuned for upcoming versions.

Dependency: S3 repository

Minimum Requirements

  • Moodle 3.8 or higher

  • See composer.json for dependencies

  • Required extension for PHP:

    • php_fileinfo.dll
    • php_mbstring.dll
    • php_openssl.dll
    • php_xsl.dll
  • Recommended extension for PHP:

    • php_curl.dll

Installation

Install by downloading the ZIP file

  1. Download zip file from GitHub Repository
  2. Unzip the zip file in /path/to/moodle/mod/webgl folder.
  3. In your Moodle site (as admin), Visit http://yoursite.com/admin to finish the installation.

Install using git clone

  1. Go to Moodle Project root/mod directory
  2. clone code by using following commands
$ git clone https://github.com/eLearning-BS23/webgl.git webgl
$ cd webgl
  1. Open a command prompt and execute following commands (Optional)
$ php composer.phar install
  1. In your Moodle site (as admin), Visit http://yoursite.com/admin to finish the installation.

For More Details, please see Moodle's Docs page about installing plugin.

Download Source Code

To get the source code from GitHub, type

$ git clone https://github.com/eLearning-BS23/webgl.git

WebGL Settings

All Settings

  • Azure Blob storage settings

Azure Settings

  • AWS S3 settings

AWS Settings

  • Other Settings

Other Settings Storage Engine: Webgl provide 3 kind of storage. Moodle default file system, Azure BLOB storage, AWS S3. Pick suitable one.

Adding WebGL to a course

An WebGL instance can be added to a course in the same way as any other activity:

  1. Turn editing on
  2. Click 'Add an activity or resource'
  3. Select "WebGL"

activity-selection

WebGL Add Form

webgl-from

WebGL Edit Form

edit-webgl

WebGL Game View

webgl-view

Author

Issue or Feature Request

We try our best to deliver bug-free plugins, but we can not test the plugin for every Moodle version. If you find any bug please report it on GitHub Issue Tracker. Please provide a detailed bug description, including the plugin and Moodle version and, if applicable, a screenshot.

You may also file a request for enhancement on GitHub. If we consider the request generally useful, we might implement it in a future version.

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see GNU License.

About

Moodle webGL game activity plugin with Azure blob storage and AWS s3 webGL content upload and Moodle File API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •