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