Play videos in random order!
Perfect for BRB screens!
Notice: the VLC Source now supports "Shuffle playlist" option.
- Download the latest executable for your system from above
- Place the executable into the folder where your video/audio files you want to use are located
- Run the file and follow the prompts for your settings
- A new file called
obs-random-videos.html
will be created in the same folder - Add a new
Browser Source
to OBS- Check "Local File" and select the new
obs-random-videos.html
you just created. - Copy this path
- Uncheck "Local file" and set the url to
file://<paste the path you copied>
- Windows example:
file://C:/obs-videos-folder/obs-random-videos.html
- Mac/Linux example:
file:///obs-videos-folder/obs-random-videos.html
(note the///
instead of//
)
- Windows example:
- Set the width and height to your full canvas resolution
- Check "Shutdown source when not visible"
- If you want a new shuffle each time: check "Refresh browser when scene becomes active"
- Leave "Page permissions" set to "Read access to OBS status information"
- Check "Local File" and select the new
- Rerun the executable when you add or remove videos or want to change any settings
- mp4
- m4v
- webm
- mpeg4
- mp3
- ogg
- aac
- VLC Source now supports "Shuffle playlist"
- This may be a more stable alternative to this project
- Mac's with M1 chip: Install the Intel version of VLC to use the VLC plugin
- Set
Refresh browser when scene becomes active
- Video resolutions should match your canvas aspect ratio
- Autoplay only works in OBS!
- To test in your browser you must hit the Play button first
- Pro tip: webm videos support transparency (convert mov to webm to save on file size)
- Try hitting
Refresh cache of current page
in OBS - In OBS go to
Scene Collection
thenNew
- Add only your random video browser source and see if this works
- If it works, then theres an external issue. I have no idea what is causing this so, if you have any info on this us know in the discussions
- Enable remote debugging and open the page for the browser source
- Open Chrome Dev tools
Application
tab- Make sure
Local and session storage
box is CHECKED - Click
Clear site data
- If issues persist: use GitHub Discussions or join the Discord server
- Audio-only or video-only modes
- Option for cross-fading between videos
- Option to HTML background color
- Good for videos with weird aspect ratio
- Good for audio files
- Switch to Bubble Tea instead of
promptui