A simple Windows desktop app that plays a random video from the folder where the app is located.
Built with .NET 8.0 (WinExe, self-contained, single-file publish).
- Plays random videos (
.mp4,.mkv,.avi,.mov,.wmv,.flv,.webm) - Caches file list for faster subsequent launches
- Uses default video player associated with file type
- Packaged as a single-file EXE
- No console window (hidden)
- Download the latest release
.exefrom GitHub Releases. - Place the
.exeinside a folder containing your videos. - Double-click the
.exe. - A random video from that folder will play automatically with your default media player.
Clone the repo and build using .NET 8 SDK:
git clone https://github.com/Khurram-Devs/RandomVideoPlayer.git
cd RandomVideoPlayer
dotnet restore
dotnet publish -c Release -r win-x64 --self-contained true /p:PublishSingleFile=trueThe EXE will be located in:
bin\Release\net8.0-windows\win-x64\publish\
- .NET 8.0 SDK
- Windows 10/11 (64-bit)
MIT License. See LICENSE for details.