VCE 视频选择引擎 项目简介
VCE = Video Choise Engine 这是一个很小的 JavaScript 库用来显示交互式视频操作,使用 JSON 描述交互的文本,提供多个分支和返回点。示例 JSON:vce.init([{
video: "intro",
choices: [
{
label: "Go North",
next: {
video: "grue-appears"
}
},
{
label: "Go South",
next: {
video: "treasure-chest"
}
}
]
}]);
video: "intro",
choices: [
{
label: "Go North",
next: {
video: "grue-appears"
}
},
{
label: "Go South",
next: {
video: "treasure-chest"
}
}
]
}]);