@stormstreaming/stormlibrary
v5.0.4
Published
A JavaScript library containing core web video player functionality for embedding live-video streams on a website. Part of StormStreaming Suite.
Maintainers
Readme
⚠️ DEPRECATED
This package has been renamed to @stormstreaming/player-core.
Please update your dependencies:
npm uninstall @stormstreaming/stormlibrary
npm install @stormstreaming/player-coreMigration Guide
The API remains the same, only the import/class names have changed:
// Old (deprecated)
import { StormLibrary } from "@stormstreaming/stormlibrary";
const player = new StormLibrary(config);
// New
import { StormPlayerCore } from "@stormstreaming/player-core";
const player = new StormPlayerCore(config);For UMD/script tag usage:
<!-- Old (deprecated) -->
<script src="stormlibrary/dist/umd/index.js"></script>
<script>
const player = stormLibrary.create(config);
</script>
<!-- New -->
<script src="player-core/dist/umd/index.js"></script>
<script>
const player = new StormPlayerCore(config);
</script>New Package Structure
| Old Package | New Package | Description |
|-------------|-------------|-------------|
| @stormstreaming/stormlibrary | @stormstreaming/player-core | Headless playback engine |
| @stormstreaming/stormplayer | @stormstreaming/player-ui | Full player with UI |
| — | @stormstreaming/player-react | React wrapper |
