JSPM

  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q64958F
  • License MIT

Netless App Media Player

Package Exports

  • @netless/app-media-player
  • @netless/app-media-player/dist/main.cjs.js
  • @netless/app-media-player/dist/main.es.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 (@netless/app-media-player) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@netless/app-media-player

Usage

import type { NetlessAppMediaPlayerAttributes } from "@netless/app-media-player";
import NetlessAppMediaPlayer, { setOptions } from "@netless/app-media-player";
import "video.js/dist/video-js.min.css";

setOptions({ verbose: true });

WindowManager.register(NetlessAppMediaPlayer);

manager.addApp({
    kind: NetlessAppMediaPlayer.kind,
    attributes: <NetlessAppMediaPlayerAttributes>{
        src: "https://beings.oss-cn-hangzhou.aliyuncs.com/test/aaa59a55-81ff-45e8-8185-fd72c695def4/1606277539701637%E7%9A%84%E5%89%AF%E6%9C%AC.mp4",
        type: "video/mp4",
    },
});

Changelog

0.1.4

  • iOS PCM 混音后台行为修复。

0.1.3

  • iOS PCM 混音代理。

0.1.0-beta.12

  • iOS 某些情况首帧黑屏修复。

0.1.0-beta.0

  • 修复了没有权限时播放器进度条超出范围的问题。