mui-player-mobile-plugin

1.4.1 • Public • Published

Play, focus, connection, share and freedom 🚩

Mobile

Mobile

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.

©️ Software License

GNU GENERAL PUBLIC LICENSE

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i mui-player-mobile-plugin

      Weekly Downloads

      46

      Version

      1.4.1

      License

      GPL-3.0

      Unpacked Size

      41.8 kB

      Total Files

      4

      Last publish

      Collaborators

      • jiangguanqun