Skip to content

AreChen/openplayer-plugins

Repository files navigation

OpenPlayer Official Plugins

English · 中文

Official plugin source, examples, build tooling, and release packages for OpenPlayer.

The player repository owns the plugin host API, runtime behavior, and security model. This repository owns official plugin implementation code and packaged .opplugin release assets.

The current plugin packages target OpenPlayer SDK 1.5.0. The bundled SDK types cover host API compatibility checks, capability discovery, runtime event subscriptions, scoped storage, validated network requests, native dialogs, custom views, AB loop controls, and permission-gated mpv playback, filter, OSD, and script-message APIs.

Repository Layout

plugins/
  capture-tools/
    manifest.json
    README.md
  multi-stream-wall/
    manifest.json
    README.md
    runtime/
      plugin.js
    view/
      index.html
  network-stream/
    manifest.json
    README.md
    runtime/
      plugin.js
  subtitle-typography/
    manifest.json
    README.md
packages/
  sdk/
    index.d.ts
    index.js
templates/
  runtime-plugin/
scripts/
  validate-manifest.mjs
  package-plugin.mjs
dist/

Each directory under plugins/ is one plugin package. A plugin must include a root manifest.json. Optional runtime source and assets should live inside the same plugin directory.

packages/sdk contains TypeScript authoring types for the injected openplayer runtime API. templates/runtime-plugin is a minimal starter for worker-based plugins.

Plugin manifests include SDK compatibility and maintenance metadata: apiVersion, minHostVersion, author, and updateUrl.

Official Plugins

  • Capture Tools - screenshots and lightweight mpv stream recording with selectable screenshot and recording formats.
  • Subtitle Typography - subtitle font, scale, position, color, outline, and shadow controls.
  • Network Stream - RTSP, RTMP, HTTP(S), and HLS stream playback entry points backed by a plugin-owned runtime command, OpenPlayer's native stream dialog, and recent stream history.
  • Multi-Stream Wall - split-screen monitor wall for RTSP, RTMP, HTTP(S), HLS, and WebRTC/WHEP streams with optional latency and bitrate overlays, rounded native tiles, browser WebRTC tiles, and dialog-safe native wall visibility.

Build

npm run build

The build validates every plugin manifest and writes .opplugin packages to dist/.

Install

Download an .opplugin file from the releases page and install it from OpenPlayer's Plugins settings page, or drag the package into the player window.

License

MIT. See LICENSE.

About

Official OpenPlayer plugin collection and release packages

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors