# <img src="https://muiplayer.oss-cn-shanghai.aliyuncs.com/static/image/title_logo.png" />
<div>
<a href="https://www.npmjs.com/package/mui-player" target="_blank"><img src="https://img.shields.io/npm/v/mui-player?label=mui%20player" /></a>
<a href="https://www.npmjs.com/package/mui-player-desktop-plugin" target="_blank"><img src="https://img.shields.io/npm/v/mui-player-desktop-plugin?label=mui%20player%20desktop" /></a>
<a href="https://www.npmjs.com/package/mui-player-mobile-plugin" target="_blank"><img src="https://img.shields.io/npm/v/mui-player-mobile-plugin?label=mui%20player%20mobile" /></a>
<a href="https://github.com/muiplayer/hello-muiplayer/tree/master/dist/js" target="_blank"><img src="https://img.shields.io/badge/gzip%20size-18kb-brightgreen" /></a>
<a href="https://github.com/muiplayer/hello-muiplayer/blob/master/LICENSE" target="_blank"><img src="https://img.shields.io/badge/license-GPL3-brightgreen" /></a>
</div>
> Play, focus, connection, share and freedom ð©
![Desktop](https://muiplayer.oss-cn-shanghai.aliyuncs.com/static/image/desktopPreview.png)
![Mobile](https://muiplayer.oss-cn-shanghai.aliyuncs.com/static/image/mobile_preview.png)
<a href="https://muiplayer.js.org/" target="_blank">Docs</a> | <a href="https://muiplayer.js.org/zh/" target="_blank">ä¸æææ¡£</a>
## Introduction
MuiPlayer is an HTML5 video playback plug-in, which is configured with exquisite and operable playback controls by default, involving common playback scenarios, such as full-screen playback, playback fast forward, loop playback, volume adjustment, video decoding and other functions.
Support mp4, m3u8, flv and other media formats to play, solve most compatibility problems, and adapt to play on PCs and mobile phones.
MuiPlayer has a wealth of parameters to customize the player instance, and the video playback of the customized scene can be completed through easy configuration.
## Features
MuiPlayer helped us solve some common problems in daily H5 Video application development:
1. The ui of different browser platforms cannot be unified
2. Conflicts between ui extensions and state processing are prone to
3. In different environments (android, ios, pc), h5 video api may trigger events at different times
4. There are various compatibility issues with media formats, muiplayer handles most of the compatibility issues when playing in different environments
5. Repeated stepping on some pits in the process of developing h5 video, we provide a complete solution, so that developers can avoid some detours
## installation
Install using npm:
```
npm i mui-player --save
```
Install using yarn:
```
yarn add mui-player
```
## usage
1.Use the script tag to introduce:
```html
<!-- import basic style files mui-player.min.css -->
<link rel="stylesheet" type="text/css" href="css/mui-player.min.css"/>
<!-- import basic script mui-player.min.js -->
<script type="text/javascript" src="js/mui-player.min.js"></script>
<!-- Specify the player container -->
<div id="mui-player"></div>
```
Or use the module manager to import:
```js
import 'mui-player/dist/mui-player.min.css'
import MuiPlayer from 'mui-player'
```
2.Define the player container:
```html
<div id="mui-player"></div>
```
3.Initialize and build the player:
```js
// Initialize the MuiPlayer plugin. The MuiPlayer method passes an object that includes the configuration of all plug-ins.
var mp = new MuiPlayer({
container:'#mui-player',
title:'Title',
src:'./static/media/media.mp4',
})
```
The above can build a video player with default configuration controls for initialization. Below you can read some API basic configuration options about MuiPlayer. Go [parameters API](https://muiplayer.js.org/api/)
## Official document
- [Official homepage](https://muiplayer.js.org/)
- [API reference](https://muiplayer.js.org/guide/api.html)
- [PC side extension plugin](https://muiplayer.js.org/guide/mui-player-desktop-plugin.html)
- [Mobile side extension plugin](https://muiplayer.js.org/guide/mui-player-mobile-plugin.html)
- [Basic demo](https://muiplayer.js.org/demo/)
## Start
Install this project
```
npm install
npm start
```
## 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 <u>[Professional Application Plugin](https://muiplayer.js.org/joinUs/)</u>.
## Â©ï¸ Software License
[GNU GENERAL PUBLIC LICENSE](https://github.com/muiplayer/hello-muiplayer/blob/master/LICENSE)
Copyright (C) 2007 Free Software Foundation, Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
## â Stars
[![Stargazers repo roster for @muiplayer/hello-muiplayer](https://reporoster.com/stars/muiplayer/hello-muiplayer)](https://github.com/muiplayer/hello-muiplayer/stargazers)
## ð Forks
[![Forkers repo roster for @muiplayer/hello-muiplayer](https://reporoster.com/forks/muiplayer/hello-muiplayer)](https://github.com/muiplayer/hello-muiplayer/network/members)
Java程序员-张凯
- 粉丝: 1w+
- 资源: 7527
最新资源
- 基于PLC的乡村供水系统设计 有组态仿真,CAD电气原理图,IO分配表,组态仿真,程序,演示视频 (1)该恒压供水系统能够正常供水, 保证供水质量;该恒压供水系统具有手动操作方式和自动操作方式,两种
- 西门子1200博图编程电机控制程序块,1200和1500通用的 1.包括正转,反转,变频控制,模拟量,故障,故障复位,控制字来显示电机的6种状态等 2.底层使用SCl编程,直接可以导出库文件.
- 铌酸锂声光效应声表面波激发 氧化锌与Si体系 2D 3D 注:目前未进行声光耦合,只激发声表面波
- 永磁同步电机无感foc位置估算源码 PMSM FOCBLDC 带仿真模型和源代码 无刷直流电机无感foc源码,无感foc算法源码 1 速度估算位置估算的代码所使用变量全部用实际值单位,能非常直观的
- xilinx vivado verilog srio开发,包含维护包、读写和门铃等功能,顶层封装为fifo,操作简单,简单修改即可应用到实际工程中,附含srio使用说明文档和免费license
- 二自由度车辆动力学模型 软件使用:Matlab Simulink 适用场景:采用模块化建模方法,适用于多种工况场景 产品simulink源码包含如下模块: 包含模块: 二自由度车辆动力学模型 包含:
- 基于滞环电流控制的VIENNA整流器
- FX5U程序三菱plc程序案例模板,一个完整的项目 用三菱FX5U,一共控制4个轴,说明了定位控制中的公共参数设定、回原点、JOG手动、决对定位、相对定位、控制等部分,威纶程序报警界面.多个机种选择
- 直流电机双闭环调速系统,以及直流电机双闭环系统建模,采用转速外环电流内环的控制结构,稳态效果良好,动态响应也较好,需要可以直接联系,仿真模型加对应的报告
- 松下FP-XH系列PLC程序,昆仑通态触摸屏程序 松下+昆仑通泰多工位装配机项目,多工位转配机,实际案例,在多工位直线,转盘类应用,会了这个就懂了. 1.国际标准IEC规范化编程模板框架程序 2.伺服
- 基于FPGA的以太网TCP数据回环设计 vivado工程
- 39节点故障数据,不同短路点,不同短路持续时间,不同负荷水平,共计3000次仿真
- 基于51单片机的电子秤 #有计价功能: 1)HX711传感器称重 2)按键可调整单价 3)去皮、清除功能 4)超重报警 5)可保存到小数点后三位 文档包含: 仿真、程序、原理图、PCB、报告
- T型三电平逆变器仿真模型,闭环控制,三电平SVPWM算法,可提供参考文献
- 光伏电池仿真模型,PV
- 二极管钳位,五电平SPWM仿真模型
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈