feat: add streamingUrl to all scenes in demo.json
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -24,3 +24,7 @@ npm-debug.log*
|
||||
*.tsbuildinfo
|
||||
video
|
||||
release
|
||||
# HLS streaming segments
|
||||
public/demo/*/1080p/
|
||||
public/demo/*/720p/
|
||||
public/demo/*/480p/
|
||||
|
||||
@@ -258,6 +258,11 @@
|
||||
"corridor": {
|
||||
"id": "corridor",
|
||||
"videoUrl": "corridor/corridor.mp4",
|
||||
"streamingUrl": {
|
||||
"超清 (1080P)": "corridor/1080p/index.m3u8",
|
||||
"高清 (720P)": "corridor/720p/index.m3u8",
|
||||
"标清 (480P)": "corridor/480p/index.m3u8"
|
||||
},
|
||||
"contentSize": {
|
||||
"w": 1280,
|
||||
"h": 720
|
||||
@@ -307,6 +312,11 @@
|
||||
"left_door": {
|
||||
"id": "left_door",
|
||||
"videoUrl": "left_door/left_door.mp4",
|
||||
"streamingUrl": {
|
||||
"超清 (1080P)": "left_door/1080p/index.m3u8",
|
||||
"高清 (720P)": "left_door/720p/index.m3u8",
|
||||
"标清 (480P)": "left_door/480p/index.m3u8"
|
||||
},
|
||||
"subtitleUrl": "left_door/left_door.vtt",
|
||||
"subtitles": {
|
||||
"zh": "left_door/left_door.vtt",
|
||||
@@ -339,6 +349,11 @@
|
||||
"right_door": {
|
||||
"id": "right_door",
|
||||
"videoUrl": "right_door/right_door.mp4",
|
||||
"streamingUrl": {
|
||||
"超清 (1080P)": "right_door/1080p/index.m3u8",
|
||||
"高清 (720P)": "right_door/720p/index.m3u8",
|
||||
"标清 (480P)": "right_door/480p/index.m3u8"
|
||||
},
|
||||
"skippable": false,
|
||||
"bgmUrl": "right_door/tense_bgm.mp3",
|
||||
"bgmVolume": 0.7,
|
||||
@@ -384,6 +399,11 @@
|
||||
"qte_success": {
|
||||
"id": "qte_success",
|
||||
"videoUrl": "qte_success/qte_success.mp4",
|
||||
"streamingUrl": {
|
||||
"超清 (1080P)": "qte_success/1080p/index.m3u8",
|
||||
"高清 (720P)": "qte_success/720p/index.m3u8",
|
||||
"标清 (480P)": "qte_success/480p/index.m3u8"
|
||||
},
|
||||
"choices": [
|
||||
{
|
||||
"text": "继续前进",
|
||||
@@ -401,6 +421,11 @@
|
||||
"qte_fail": {
|
||||
"id": "qte_fail",
|
||||
"videoUrl": "qte_fail/qte_fail.mp4",
|
||||
"streamingUrl": {
|
||||
"超清 (1080P)": "qte_fail/1080p/index.m3u8",
|
||||
"高清 (720P)": "qte_fail/720p/index.m3u8",
|
||||
"标清 (480P)": "qte_fail/480p/index.m3u8"
|
||||
},
|
||||
"choices": [
|
||||
{
|
||||
"text": "继续前进",
|
||||
@@ -418,6 +443,11 @@
|
||||
"desk_detail": {
|
||||
"id": "desk_detail",
|
||||
"videoUrl": "shared/continue_ending.mp4",
|
||||
"streamingUrl": {
|
||||
"超清 (1080P)": "shared/1080p/index.m3u8",
|
||||
"高清 (720P)": "shared/720p/index.m3u8",
|
||||
"标清 (480P)": "shared/480p/index.m3u8"
|
||||
},
|
||||
"choices": [
|
||||
{
|
||||
"text": "返回调查现场",
|
||||
@@ -435,6 +465,11 @@
|
||||
"stay": {
|
||||
"id": "stay",
|
||||
"videoUrl": "stay/stay_loop.mp4",
|
||||
"streamingUrl": {
|
||||
"超清 (1080P)": "stay/1080p/index.m3u8",
|
||||
"高清 (720P)": "stay/720p/index.m3u8",
|
||||
"标清 (480P)": "stay/480p/index.m3u8"
|
||||
},
|
||||
"subtitleUrl": "stay/stay.vtt",
|
||||
"subtitles": {
|
||||
"zh": "stay/stay.vtt",
|
||||
@@ -458,6 +493,11 @@
|
||||
"trust_ending": {
|
||||
"id": "trust_ending",
|
||||
"videoUrl": "trust_ending/trust_ending.mp4",
|
||||
"streamingUrl": {
|
||||
"超清 (1080P)": "trust_ending/1080p/index.m3u8",
|
||||
"高清 (720P)": "trust_ending/720p/index.m3u8",
|
||||
"标清 (480P)": "trust_ending/480p/index.m3u8"
|
||||
},
|
||||
"choices": [
|
||||
{
|
||||
"text": "开启信任的旅程(需要 trust >= 80)",
|
||||
@@ -484,12 +524,11 @@
|
||||
"secret_ending": {
|
||||
"id": "secret_ending",
|
||||
"videoUrl": "shared/continue_ending.mp4",
|
||||
"choices": [],
|
||||
"thumbnail": "shared/thumb.jpg"
|
||||
},
|
||||
"alone_ending": {
|
||||
"id": "alone_ending",
|
||||
"videoUrl": "alone_ending/alone_ending.mp4",
|
||||
"streamingUrl": {
|
||||
"超清 (1080P)": "shared/1080p/index.m3u8",
|
||||
"高清 (720P)": "shared/720p/index.m3u8",
|
||||
"标清 (480P)": "shared/480p/index.m3u8"
|
||||
},
|
||||
"choices": [],
|
||||
"onEnter": [
|
||||
{
|
||||
@@ -503,6 +542,11 @@
|
||||
"continue_ending": {
|
||||
"id": "continue_ending",
|
||||
"videoUrl": "shared/continue_ending.mp4",
|
||||
"streamingUrl": {
|
||||
"超清 (1080P)": "shared/1080p/index.m3u8",
|
||||
"高清 (720P)": "shared/720p/index.m3u8",
|
||||
"标清 (480P)": "shared/480p/index.m3u8"
|
||||
},
|
||||
"choices": [],
|
||||
"thumbnail": "shared/thumb.jpg"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user