Skip to main content
Version: Next

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, asset)trueThe source of the file. Asset is the file in the current directory
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