JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 8
  • Score
    100M100P100Q53447F
  • License MIT

回放主题

Package Exports

  • @ezuikit/theme-rec
  • @ezuikit/theme-rec/dist/index.esm.js
  • @ezuikit/theme-rec/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ezuikit/theme-rec) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@ezuikit/theme-rec

回放主题,支持ezopen私有协议播放器

使用

const RecTheme = require('@ezuikit/theme-rec');

const theme = new RecTheme({
  id: 'video-container', // 视频容器ID
  accessToken: "",
  url: "",
  width: 600,
  height: 400,
  staticPath: "/" // 复制 dist 下PlayCtrlWasm 放置在服务器静态资源路径下
});