Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

libpgs

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

libpgs

Renderer for graphical subtitles (PGS) in the browser.

  • 0.2.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.6K
increased by27.96%
Maintainers
1
Weekly downloads
 
Created
Source

libpgs-js

This library renders the graphical subtitles format PGS (.sub / .sup) in the browser.

Usage

Install the package via npm:

npm i --save libpgs
<div style="position: relative">
    <video id="video-element" src="./video.mp4"></video>
</div>
const videoElement = document.getElementById('video-element');
const pgsRenderer = new libpgs.PgsRenderer({
    video: videoElement,
    subUrl: './subtitle.sup'
});

Licence

MIT License

Keywords

FAQs

Package last updated on 09 Jun 2024

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc