mui-player-mobile-plugin
v1.4.1
Published
Mui Player Mobile Plugin Javascript Library
Downloads
52
Maintainers
Readme
Play, focus, connection, share and freedom 🚩
Docs | 中文文档
Introduction
mui-player-mobile-plugin.js is an extension plug-in for the player. The plug-in enhances the maneuverability of the player on the mobile terminal, including the touch screen to control the progress and volume, lock the playback, and configure the main menu to switch the playback rate and loop playback. Wait.
installation
Install using npm:
npm i mui-player-mobile-plugin --save
Install using yarn:
yarn add mui-player-mobile-plugin
usage
Introduce mui-player-mobile-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-mobile-plugin.min.js"></script>
Pass in the main configuration item plugins
var mp = new MuiPlayer({
container:'#mui-player',
src:'../media/media.mp4',
...
plugins:[
new MuiPlayerMobilePlugin({
showMenuButton:true,
...
})
]
});
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.