mui-player-desktop-plugin

1.6.0 • Public • Published

Play, focus, connection, share and freedom 🚩

Desktop

Docs | 中文文档

Introduction

mui-player-desktop-plugin.js is a player extension plug-in. The extension plug-in enhances the use of the player in PC application scenarios. It provides the ability to control the player including the mouse and keyboard, setting groups, volume adjustment, and video Functional components such as thumbnail configuration.

installation

Install using npm:

npm i mui-player-desktop-plugin --save

Install using yarn:

yarn add mui-player-desktop-plugin

usage

Introduce mui-player-desktop-plugin.js on the page , the plug-in needs to be loaded before initializing the player

<!-- Use the script tag to import -->
<script type="text/javascript" src="js/mui-player-desktop-plugin.min.js"></script>
// Use the module manager to introduce plugins
import MuiPlayerDesktopPlugin from 'mui-player-desktop-plugin'

Pass in the main configuration item plugins

var mp = new MuiPlayer({
    container:'#mui-player',
    src:'../media/media.mp4',
    ...

    plugins:[
        new MuiPlayerDesktopPlugin({
            customSetting, // Set up group configuration
            contextmenu, // Right-click menu group configuration
            thumbnails,  // Thumbnail configuration
        })
    ]
});

Official document

Disclaimer

This is a non-commercial version of MuiPlayer. It does not include the same functions as a commercial player, but the open source version can still provide a stable video playback solution. Before using this, be sure to understand the software license of the open source project. If you want to get a commercial application player, please download from the official Professional Application Plugin.

©️ Software License

GNU GENERAL PUBLIC LICENSE

Package Sidebar

Install

npm i mui-player-desktop-plugin

Weekly Downloads

92

Version

1.6.0

License

GPL-3.0

Unpacked Size

99.4 kB

Total Files

4

Last publish

Collaborators

  • jiangguanqun