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 | Since | Description |
---|---|---|---|---|
source | String (youtube, url) | true | 0.1.0 | The source of the file. Currently there is only youtube |
url | String | true | 0.1.0 | The current url of the file. On youtube it is the id of the video |