Add public/videos.js
This commit is contained in:
30
public/videos.js
Normal file
30
public/videos.js
Normal file
@@ -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
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
]
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user