Media Player a media player for web based on video.js project
Support Development
PayPal ● 
Bitcoin Address: bc1qh7juzrxrawpr65elm4qs285m5rdhnhgsn7h2jf
 ● 
Lightning Address: [email protected]
Your Input Matters
Review
Advertisement
Screenshot
The "Media Player" extension is designed to provide cross-browser support for playing video and audio files. Its purpose is to eliminate the need for an external media player and instead use the internal HTML5 video element to decode and play media files. The extension is built on top of the popular "video.js" library, and it features several custom plugins that aim to enhance the player's accessibility while taking advantage of browser APIs. These plugins allow users to remember their playing history and use browser-level or global-level keyboard shortcuts for more convenience.

Features

FAQs

  1. What can I expect from the "Media Player" extension?

    The primary objective of the "Media Player" extension is to leverage the built-in media player of your browser to fulfill your media playing needs without having to install any external application, provided that the media source is recognizable by your browser (i.e., the media format can be decoded). Notably, the "AVI" format is currently unsupported. To facilitate user convenience, the extension features a range of keyboard shortcuts in the player interface, allowing users to toggle the playing status, adjust the volume, and more. Additionally, three browser or global-level shortcuts enable users to toggle the playing status and move to the previous or next tracks. To enable the global shortcuts, open "chrome://extensions/configureCommands" in a browser tab (keep in mind that each browser may have a custom setting page to configure keyboard shortcuts).

  2. What are the supported keyboard shortcuts?

    SpaceToggle play and pause
    P KeyMove to the previous track if possible
    N KeyMove to the next track if possible
    U KeyPress the shuffle button
    R KeyPress the repeat button (toggle between repeat, no repeat, repeat one)
    B KeyBoost audio twice. Use this option only if maximum of volume is not loud enough
    C KeyCast video to a remote device
    S KeyTake a screenshot
    U KeyShuffle playlist
    F KeyToggle fullscreen mode
    Q KeyIncrease playback rate
    A KeyDecrease playback rate
    Up KeyIncrease volume if level is less than 100%
    Down KeyDecrease volume if level is greater than 0%
    Left KeySeek 10 seconds backward (use Shift key to seek 30 seconds)
    Right KeySeek 10 seconds forward (use Shift key to seek 30 seconds)

  3. How can I add new tracks to the player?

    To add new tracks to the player, press the toolbar button (action button) to initiate the player. Next, use the large Play button to browse for media files or drag and drop media files into the player interface with your mouse. If you wish to add additional tracks, drop the new media files into the player interface at any time.

  4. Does the "Media Player" extension support displaying video subtitles (captions)?

    The extension supports playing video subtitles. It currently recognizes two subtitle formats (SRT and VTT). It is highly recommended that users opt for the "VTT" format as it is the only compatible format the browser can natively play. If you happen to drop an "SRT" subtitle, the "Media Player" extension automatically converts it to the "VTT" format before passing it onto the VIDEO element.

  5. Is it possible to adjust the font size of subtitles on the "Media Player" extension?

    Users can adjust the font size for subtitles within the player interface. A new button appears in the control section when playing a video with subtitles in this player. Click on the button and select the settings link to access the subtitle customization options, which include font family and font size. Please note that any changes made to the subtitle settings are not currently persistent, and you need to apply them again following a restart.

  6. How do I ask the "Media Player" extension to display subtitles for a particular track, especially if the subtitle file is in the same folder but not appearing?

    Ensure that the subtitle file has an identical name to the original file, only with a different file extension. Additionally, verify that the subtitle file is in either "VTT" or "SRT" format. If not, you may use an online conversion service to convert the file.

    Next, close the "Media Player" extension and drag both the media and subtitle files into the player area. Note that since the "Media Player" extension is a browser extension, it does not have direct access to the local disk. Therefore, it is important to drop both files into the player area simultaneously for the extension to parse the captions.

  7. Is it possible to set a global keyboard shortcut to toggle the playing status of the "Media Player" extension?

    The ability to set a global keyboard shortcut to toggle the playing status varies depending on your browser. For example, this feature is not supported in Firefox, but it is supported in Chrome. To set a global shortcut in Chrome, open "chrome://extensions/configureCommands" or the equivalent URL in a new browser tab. Locate the "Media Player" extension and set a new shortcut for the "Play/Pause" command. Make sure to change the capturing level from "Browser" to "Global" to ensure that the shortcut works across all windows.

  8. Is it possible to use the "Media Player" extension to watch YouTube videos?

    Currently, the "Media Player" extension does not support watching videos on YouTube. However, if you have a direct link to a media file, you can drop the link into the player interface. The extension will attempt to fetch and play the media file as if it were a local file.

  9. Is it possible to open the player interface in a browser tab instead of a popup window?

    Yes, starting from version 0.1.7, there is a new option available in the right-click context menu over the browser action button. By selecting this option, you can close the currently open player window and allow it to open in a browser tab instead.

  10. Can this extension automatically extract media files from a local folder?

    The extension allows you to drop a local directory into the player interface, and it will automatically navigate through all the files inside the directory, including subdirectories, to extract media files (starting from version 0.1.7). This recursive navigation makes it easier to access and play your media files without having to manually add each file to the player.

  11. Can the Media Player extension play media files embedded in the current webpage?

    Yes, starting from version 0.1.8, you can press the toolbar button on a tab with a media element, and the extension will search the tab for media links. If a link is detected, the extension pauses the embedded media player element and transfers the media link to the interface. This feature is optional, and you will receive a one-time permission request to grant or deny access to the media elements. If access is denied, the extension will open an empty player like previous versions.

  12. Can I change the default playback speed rates?

    Right-click on the player and select "Inspect". Switch to the "Console" tab and paste the following code:

    localStorage.setItem('rates', '0.25, 0.5, 0.75, 1, 1.25, 1.5, 1.75, 2')
    Now restart the player

  13. Can I change the default 10 and 30 second jumps on seek forward and backward?

    Right-click on the player and select "Inspect". Switch to the "Console" tab and paste the following code:

    localStorage.setItem('seek.forward', '5, 60');
    localStorage.setItem('seek.backward', '5, 60');
    
    Now restart the player

  14. Can I change the default delay between plays?

    Right-click on the player and select "Inspect". Switch to the "Console" tab and paste the following code:

    localStorage.setItem('delay', '5')
    where the delay is in seconds. To have no delay use "0". Restart the player for this change to take effect.

  15. Can I open this player from the command line? I want to use this player from a terminal script to play a remote resource.

    On Chromium browsers, you can use the "--app" argument to open an application window in standalone mode. For instance, to open this player with a remote URL, use the following command

    chrome.exe "--app=chrome-extension://mgmhnaapafpejpkhdhijgkljhpcpecpj/data/player/index.html?src=https%3A%2F%2Fwww.w3schools.com%2Fhtml%2Fmov_bbb.mp4"
    where "mgmhnaapafpejpkhdhijgkljhpcpecpj" is the ID of this extension. To get this ID, right-click the action button, and open the player in a browser tab.

  16. How can I enable the automatic detection of media elements in the current tab?

    To enable this feature, right-click the Media Player's action button and select the "Options" item. Then choose "Capture Media from Tab" and grant permission to observe the current tab. The extension will now search for media elements in the current tab and automatically play any media files it detects. If there is already a player in the tab, the extension will pause it before transferring the media to its interface.

  17. Can the player's interface be customized to hide unused toolbar buttons?

    Starting from version 0.4.1, users can customize the player's interface by right-clicking on the action button and selecting the "Manage Plugins" option. From there, users can enable or disable various player plugins, allowing them to hide the toolbar buttons they don't need. After disabling the plugins, users must restart the player for the changes to take effect.

  18. How can I take a screenshot from a video file using this media player?

    You can take a screenshot from a video by playing the video and seeking the desired time. Then, click on the screen capturing button on the toolbar area to capture the screenshot. The screenshot is placed in the default download directory of your browser.

  19. Can you explain the functionality of the "Boost" button in the player's control section?

    The "Boost" button works by installing a gain node to the player. It increases the sound level twice beyond the maximum level. This boosting can be useful if the maximum volume level is not loud enough for your needs. Since the booster could decrease the player's sound quality, only use it when the 100% volume level is not loud enough.

Matched Content

Reviews

Please keep reviews clean, avoid improper language, and do not post any personal information. Also, please consider sharing your valuable input on the official store.

What's new in this version

Version--
Published--/--/--
Change Logs:
    Last 10 commits on GitHub
    Hover over a node to see more details

    Need help?

    If you have questions about the extension, or ideas on how to improve it, please post them on the  support site. Don't forget to search through the bug reports first as most likely your question/bug report has already been reported or there is a workaround posted for it.

    Open IssuesIssuesForks

    Permissions are explained

    PermissionDescription
    tabsTo open player interface and focus it when it is inactive
    storageTo store internal preferences like tracks last played position or volume level
    *://*/*To play song and video files from all servers
    contextMenusTo add context-menu item to the right-click context menu over video sources as well as to add context-menu item over the toolbar button.
    notificationsDisplay errors and notifications to the user

    Recent Blog Posts