Socket
Socket
Sign inDemoInstall

@netless/app-media-player

Package Overview
Dependencies
0
Maintainers
11
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @netless/app-media-player

Netless App Media Player


Version published
Maintainers
11
Install size
168 kB
Created

Readme

Source

@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.0-beta.0

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

FAQs

Last updated on 25 Mar 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc