Skip to content

Latest commit

 

History

History
54 lines (33 loc) · 1.64 KB

README.md

File metadata and controls

54 lines (33 loc) · 1.64 KB

xblock-wistia

XBlock to embed videos hosted on the Wistia video platform into your courses.

Installation

pip install -e "git+https://github.com/appsembler/xblock-wistia.git#egg=wistiavideo_xblock"

Enabling in Studio

You can enable the Wistia xblock in studio through the advanced settings:

  1. From the main page of a specific course, click on Settings, Advanced Settings in the top menu.

  2. Check for the Advanced Module List policy key, and add "wistiavideo" in the policy value list. Advanced Module List

  3. Click on the Save changes button.

Usage

Before adding wistia xblock to your course you need to have video uploaded to the Wistia.

You can get video url for the Xblock directly from your browser's address bar.

Wistia video URL

For better students experience make sure all player controls are enabled, video captions, and video transcripts are uploaded.

Wistia customize video

To add Wistia video block to a unit, choose Wistia videoFrom the Advanced Components list int the Studio.

Add Wistia video Xblock

Click the Edit button to open up a form where you can enter module title and avideo url address.

Edit Wistia video Xblock

Running Tests

Before running tests, run pip install -r requirements-test.txt.

DJANGO_SETTINGS_MODULE=test_settings pytest wistiavideo

License

The code in this repository is licensed under the GPL v3 licence unless otherwise noted.

Please see LICENSE file for details.