Skip to content

弹幕视频播放器,开发交流群:909847398

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
DPlayer-LICENSE
Notifications You must be signed in to change notification settings

wangzmgit/wplayer-next

Repository files navigation

WPlayer 弹幕播放器

WPlayer 是基于 DPlayer 1.27.1 开发的弹幕播放器,具体内容请参考官方文档

安装

使用 npm:

npm install wplayer-next --save

使用 Yarn:

yarn add wplayer-next

快速开始

加载播放器文件:

<div id="wplayer"></div>
<script src="WPlayer.min.js"></script>

或者使用模块管理器:

import WPlayer from 'wplayer-next';

const player = new WPlayer(options);

在 js 里初始化:

const player = new WPlayer({
    container: document.getElementById('wplayer'),
    video: {
        url: 'demo.mp4',
    },
});

About

弹幕视频播放器,开发交流群:909847398

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
DPlayer-LICENSE

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published