This XBlock provides the Video.js player (www.videojs.com) instead of the default one.
- True full screen allowed
- More video speeds available : | 0.75 | 1 | 1.25 | 1.5 | 1.75 | 2 | by default
- (Optional) Source document download button, for example to provide your PPT or PDF file
- The list of playbackRates can be edited in
videojsXBlock / videojs / static / js / videojs_view.js
- By default, Video Download Allowed is set on True. The default value can be changed in
videojsXBlock / videojs / videojs.py
See https://github.com/polimediaupv/paellaXBlock installation
# Move to the folder where you want to download the XBlock
cd /edx/app/edxapp
# Download the XBlock
sudo -u edxapp git clone https://github.com/MarCnu/videojsXBlock.git
# Install the XBlock
sudo -u edxapp /edx/bin/pip.edxapp install videojsXBlock/
# Upgrade the XBlock if it is already installed, using --upgrade
sudo -u edxapp /edx/bin/pip.edxapp install videojsXBlock/ --upgrade
# Remove the installation files
sudo rm -r videojsXBlock
sudo /edx/bin/supervisorctl -c /edx/etc/supervisord.conf restart edxapp:
Go to Settings -> Advanced Settings
and set advanced_modules
to ["videojs"]
.
Select Advanced -> Video JS
in your unit.