🎬 MP4 Player Pro



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.
✨ Features
- 🚀 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
.mp4 files and web-hosted video URLs.
- 🎨 Modern Design: High-definition UI components for a professional look and feel.
- 🛠️ Global API: Features like
openMP4Viewer and closeMP4Viewer are exposed to the window object for manual control via console.
🚀 Installation
- Install a UserScript Manager:
- 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.
- Enjoy: Refresh any tab, and the player container will be ready for your music!
🛠️ Usage
- 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.
https://github.com/user-attachments/assets/2c858289-e274-44ef-8947-c66fc3e391ee
📜 License
This project is licensed under the GNU AGPLv3 - see the script header for details.
👤 Author
Ali Ashori 🌐 Website
📧 Feel free to reach out for suggestions or bug reports!