Video item
Extends Item
Example
In the items option in the part
- JSON
- YAML
<course>/<part>/config.json
{
"name": "Welcome",
"description": "Welcome to the course",
"type": "video",
"source": "youtube",
"url": "ScMzIvxBSi4"
}
<course>/<part>/config.yml
name: Welcome
description: Welcome to the course
type: video
source: youtube
url: ScMzIvxBSi4
Options
Name | Type | Required | Description |
---|---|---|---|
source | String (youtube, url) | true | The source of the file. Currently there is only youtube |
url | String | true | The current url of the file. On youtube it is the id of the video |
points | Integer | false | The points which will be get if you visited this site. Default is 1 |