🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@netless/app-plyr

Package Overview
Dependencies
Maintainers
3
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@netless/app-plyr

Netless App Media Player, based on plyr.io.

latest
Source
npmnpm
Version
0.2.7
Version published
Maintainers
3
Created
Source

@netless/app-plyr

Netless App for playing video and audio.

Usage

manager.addApp({
  kind: "Plyr",
  options: {
    title: "YouTube",
  },
  attributes: {
    src: "https://www.youtube.com/embed/bTqVqk7FSmY",
    provider: "youtube",
  },
});

m3u8 support

HLS support is provided by video-dev/hls.js.

NOTES:

  • To reduce the package size, hls.js is loaded dynamically using script tag.
  • If you do not believe in this cdn, you can prepare window.Hls before this app downloads.
  • If you do not need HLS, you can set window.Hls to false or null to disable this loading, in which case you will not able to play hls streaming unless the browser support it natively.

autoplay not working

Autoplay is generally not recommended as it is seen as a negative user experience. It is also disabled in many browsers. Before raising issues, do your homework. More info can be found here:

License

MIT @ netless

FAQs

Package last updated on 07 Nov 2025

Did you know?

Socket

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