MP4 Player Pro is an ultra-fast, lightweight UserScript that turns your browser into a high-definition video powerhouse. Drag and drop your local files or web-based video links for a seamless viewing experience without the need for external software.
- 🚀 Ultra-Fast Performance: Optimized for high-definition playback with minimal latency.
- 🖱️ Drag-and-Drop Support: Easily load videos by dragging them from your folders directly into the browser (And direct web URLs).
- 🌙 Sleep Timer: Built-in timer to automatically stop playback after a set duration.
- 🎬 Floating Interface: Includes a sleek floating launch button for instant access on any webpage.
- 🌐 Web & Local Playback: Works with both local
.mp4files and web-hosted video URLs. - 🎨 Modern Design: High-definition UI components for a professional look and feel.
- 🛠️ Global API: Features like
openMP4ViewerandcloseMP4Viewerare exposed to thewindowobject for manual control via console.
- Install a UserScript Manager:
- Tampermonkey (Recommended)
- Greasemonkey
- Add the Script:
- Copy the content of
MP4 Player Pro.js. - Open your UserScript manager dashboard and create a "New Script".
- Paste the code and save.
- Copy the content of
- Enjoy: Refresh any tab, and the player container will be ready for your music!
- Launch: Click the floating 🎬 MP4 Player Pro button located on the side of your browser window.
- Add Video: - Drag a video file from your computer and drop it into the player area.
- Or, provide a web link to a video file.
- Controls: Use the built-in HD player controls for playback, volume, and full-screen mode.
- Close: Click the close icon on the launcher or within the player to hide the interface.
Demo.mp4
This project is licensed under the GNU AGPLv3 - see the script header for details.
Ali Ashori 🌐 Website
📧 Feel free to reach out for suggestions or bug reports!




