Added minimal definition files describing the format of a video package and a playlist
This commit is contained in:
parent
384c7cc513
commit
42d5a587be
12
listdef.json
Normal file
12
listdef.json
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"title": "", //name of this playlist
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"id": "",
|
||||||
|
"title": "",
|
||||||
|
"description": "",
|
||||||
|
"link": "",
|
||||||
|
"thumb": "" //an image file
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
16
packagedef.json
Normal file
16
packagedef.json
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"id": "",
|
||||||
|
"title": "",
|
||||||
|
"thumb": "", //an image file
|
||||||
|
"token": "",
|
||||||
|
"subtitles": "", //a .vtt file
|
||||||
|
"sources": [ //any number of sources, tested up to 4
|
||||||
|
{
|
||||||
|
"video": { //all sources should have the same set of resolutions
|
||||||
|
"720": "" //map a resolution to a video file
|
||||||
|
},
|
||||||
|
"poster": "", //an image file
|
||||||
|
"playAudio": true //only one source should play audio
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user