You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-11Lines changed: 10 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,8 +12,8 @@ _The fastest way to launch your virtual club, gallery, or event space — powere
12
12
-**🎛 VideoGuide Component**
13
13
The scene’s “brain.” Connects to the shared M1D content network and syncs live playback across all visitors. Includes a sleek channel selector UI.
14
14
15
-
-**📺 Local Content Support**
16
-
Showcase your own content by adding a playlist to `index.ts`. A “Venue Content” button appears automatically in the UI for a seamless blend of global and local programming.
15
+
-**📺 Local Video Support**
16
+
Showcase your own video by adding a video URL to `index.ts`. A “Venue Content” button appears automatically in the UI for a seamless blend of global and local programming.
17
17
18
18
-**🌀 Custom Mesh Screen**
19
19
A high-performance, procedurally curved mesh screen for vibrant playback and excellent framerate — even under heavy scene load.
@@ -57,12 +57,12 @@ export async function main() {
// --- Initialize the All-in-One Video Guide Component ---
60
-
// The local playlist is defined directly inside the function call for conciseness.
61
-
const videoGuide =awaitcreateVideoGuide({
62
-
localPlaylist: [{
63
-
src: ''//<<---add your https://your-local-video-url.m3u8 inside ''
64
-
}]
65
-
})
60
+
// The local video is defined directly inside the function call for conciseness.
61
+
const videoGuide =awaitcreateVideoGuide({
62
+
localVideo: {
63
+
src: 'https://demo.unified-streaming.com/k8s/features/stable/video/tears-of-steel/tears-of-steel.ism/.m3u8'// <<--Replace with yourvideo URL or leave empty ''s for no local video button.
64
+
}
65
+
})
66
66
67
67
// Create the physical screen that will display the video.
68
68
// This uses the `createCurvedScreen` component from the library.
@@ -80,7 +80,7 @@ export async function main() {
80
80
videoTexture: videoGuide.videoTexture
81
81
});
82
82
83
-
// Load ground, floor, and other assets here...
83
+
// Load ground, floor, and other assets here...
84
84
}
85
85
```
86
86
@@ -91,7 +91,7 @@ export async function main() {
91
91
Make the space your own:
92
92
93
93
- 🎬 **Add Your Video**
94
-
Edit `src/index.ts` and paste your HLS URL (`.m3u8`) into the `localPlaylist`.
94
+
Edit `src/index.ts` and paste your HLS URL (`.m3u8`) into the `localVideo` object.
95
95
96
96
- 🧱 **Swap 3D Models**
97
97
Replace `models/ground1Parcel.glb` or `DF_WithSpinning_Shuffle_Float2.glb` with custom `.glb` assets.
@@ -118,4 +118,3 @@ Join us for support, sneak peeks, and creative inspiration:
Copy file name to clipboardExpand all lines: src/index.ts
+4-5Lines changed: 4 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -30,11 +30,10 @@ export async function main() {
30
30
// This single call now handles fetching, fallback, UI, and the scheduler.
31
31
// The local playlist is defined directly inside the function call for conciseness.
32
32
constvideoGuide=awaitcreateVideoGuide({
33
-
localPlaylist: [{
34
-
//add your https://your-local-video-url.m3u8 inside ''
35
-
src: ''
36
-
}]
37
-
})
33
+
localVideo: {
34
+
src: 'https://demo.unified-streaming.com/k8s/features/stable/video/tears-of-steel/tears-of-steel.ism/.m3u8'// <<--Replace with your video URL or leave empty ''s for no local video button.
35
+
}
36
+
});
38
37
39
38
// Create the physical screen that will display the video.
40
39
// This uses the `createCurvedScreen` component from the library.
0 commit comments