Skip to content

Yskra/iframe-player-plugin

Repository files navigation

Iframe Player

graph TD
    A[Plugin] -- Redirect URL --> B{Workers proxy}
    B -- Inject script --> C[API layer]
    C <-- postMessage() --> A
Loading

Plugin

Registers a plugin in the app that will open text/html links (usually iframes) and redirects them to a proxy

Workers proxy

A proxy that will intercept the request and return a response with the script injected

API layer

A script that is embedded in a <video/> element and uses postMessage() to provide control to the application plugin

Supported players

  • Native HTML5 Video - base media controls
  • VenomPlayer - quality, audio
  • Dash.js
  • Hls.js - levels (quality)

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published