diff --git a/public/videos.js b/public/videos.js new file mode 100644 index 0000000..6d254e3 --- /dev/null +++ b/public/videos.js @@ -0,0 +1,30 @@ +window.PLAYER_CONFIG = { + defaultVolume: 0.3, + + localStorageVolumeKey: "vpref", + localStorageMutedKey: "mpref", + + videos: [ + { + src: "https://s1ne.com/buttery-stealthx.webm", + chance: 50 + }, + { + src: "https://s1ne.com/saleh-stealthx.mp4", + chance: 50 + } + + /* + Local video example: + + 1. Create: + public/videos/my-video.mp4 + + 2. Add: + { + src: "/videos/my-video.mp4", + chance: 100 + } + */ + ] +}; \ No newline at end of file