GitHub Repo: https://github.com/klavoie1/ZiraceVideoPlayer
Overview
I have personal videos and downloaded shows that I wanted a homemade video player for. VLC and Windows media player are nice, but I wanted something that I had/have more control over. I created the UI to mimic Netflix or Hulu. The Player’s controls disappear after interactions. They also disappear when the user stops moving the mouse. The controls appear once again when the video player is interacted with.
Technology
This project uses Microsoft’s Windows Presentation Forms (WPF) to create a simple but effective local media video player. XAML is used for the UI and C# handles the back-end. I wanted the videos I watch to save where they were left off like Online streaming services do. For this, I presently have a simple system where the video’s position is saved in XML format. When a video is loaded, it checks the videos file path and matches it to the saved XML information. There is a duration slider. It allows the user to scan through the video. This helps to get to different parts of the video.
A MVVC (Model-View-View Controller) file system is used to help keep the code organized and easy to follow.

Results
The video player is perfect for the small scale that it is used in. The RAM usage while in operation is very low. There are garbage collectors set in place to help keep resource use low.
Fixes/Future Updates
The video player currently has an issue with the duration slider. When the slider is used to go to a different time in the video, there is a momentary delay. The video takes a moment to load. It loads the new position after a short delay.

Leave a comment