Skip to main content
Version: 1.5

Video item

Extends Item

Example

In the items option in the part

<course>/<part>/config.json
{
"name": "Welcome",
"description": "Welcome to the course",
"type": "video",
"source": "youtube",
"url": "ScMzIvxBSi4"
}

Options

NameTypeRequiredDescription
sourceString (youtube, url)trueThe source of the file. Currently there is only youtube
urlStringtrueThe current url of the file. On youtube it is the id of the video
pointsIntegerfalseThe points which will be get if you visited this site. Default is 1