The "Media Player" userscript enhances the media playback experience on web pages by providing a convenient modal interface powered by Plyr for MP4 and MP3 links found on the page. It enables users to play or download media files seamlessly without leaving the current page.
- Automatically detects MP4 and MP3 links on the page.
- Plays media files directly in a modal without navigating away.
- Provides options to play media files or download them.
- Utilizes Plyr, a lightweight, accessible, and customizable media player.
- Install Violentmonkey, a userscript manager available for various browsers.
- Install the Media Player userscript by copying the script into a new script in Violentmonkey.
- Visit web pages containing MP4 or MP3 links hosted on compatible platforms.
- Click on the media links to open them in the Media Player modal.
- Enjoy seamless media playback or download options.
This userscript is designed to work on web pages that contain MP4 or MP3 links. It has been tested on the Moodle platform but can be adapted for other platforms as well.
- Plyr: A simple, accessible, and customizable HTML5 media player.
This project is licensed under the MIT License.