Skip to content

Headless low-latency js video player engine for Storm Streaming Server & Cloud. No UI included — designed for custom player implementations.

License

Notifications You must be signed in to change notification settings

StormStreaming/player-core-js

Repository files navigation

StormPlayer Core

Headless low-latency video player engine for Storm Streaming Server & Cloud. No UI included — designed for custom player implementations.

For a ready-to-use player with controls, see @stormstreaming/player-ui.

Installation

npm install @stormstreaming/player-core

Also available: yarn | CDN

Quick Start

import { StormPlayerCore } from "@stormstreaming/player-core";

const player = new StormPlayerCore({
  stream: {
    serverList: [
      { host: "your-server.com", application: "live", port: 443, ssl: true }
    ],
    streamKey: "your-stream"
  },
  settings: {
    autoStart: true,
    video: {
      containerID: "video-container",
      aspectRatio: "16:9",
      width: "100%"
    }
  }
});

player.addEventListener("playbackStart", () => console.log("Playing!"));
player.initialize();
<div id="video-container"></div>

Module Formats

Available as ESM, IIFE, UMD, and CJS. TypeScript definitions included.

Documentation

Browser Support

Chrome 31+ · Firefox 42+ · Safari 13+ · Edge 12+ · Opera 15+

Legacy browsers fall back to HLS mode.

Related Packages

Package Description
@stormstreaming/player-ui Full player with UI controls
@stormstreaming/player-react React wrapper

License

See LICENSE

About

Headless low-latency js video player engine for Storm Streaming Server & Cloud. No UI included — designed for custom player implementations.

Resources

License

Stars

Watchers

Forks

Packages

No packages published