Skip to content

Chimeejs/chimee-plugin-center-state

Folders and files

NameName
Last commit message
Last commit date
Jun 5, 2018
Jun 5, 2018
Oct 28, 2019
Jun 5, 2018
Aug 1, 2017
Jul 24, 2017
Jun 5, 2018
Feb 26, 2018
Mar 30, 2021
Oct 28, 2019

Repository files navigation

chimee-plugin-center-state

install

安装

# 依赖于 chimee, 首先需要安装 chimee
npm install chimee
# 安装控制条组件
npm install chimee-plugin-center-state

使用

import chimee from 'chimee';
import chimeePluginCenterState from 'chimee-plugin-center-state';

// 安装插件
chimee.install(chimeePluginCenterState);
const player = new chimee({
  // ...
  // 使用插件
  plugin: [
    chimeePluginCenterState.name,
    errorTips: 'xxx' // 自定义错误信息
  ]
});

也可以在页面中引用 /lib/index.browser.js 然后在页面中使用 chimeePluginCenterState

包含状态

  • 开始
  • 暂停
  • 快进
  • 回退
  • 音量加
  • 音量减

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published