A video player you embed once and control from then on.
One script tag on your page. Its version, configuration and theme change from the dashboard, never in your markup.
<div id="pb-player"></div>
<script
src="https://cdn.stream.tulip-tech.app/sdk/web/index"
data-key="YOUR_KEY"
data-media="https://example.com/your-video.mp4"
data-target="pb-player"></script>That is the whole integration. Leave out the key and it still plays, unlicensed and watermarked.
What holds on every page
- Failure still plays
- A lapsed, missing or unreachable licence resolves to unlicensed mode, and unlicensed mode plays video (C3).
- Size is a gate
- The loader is held under 4 KB and the core under 60 KB, gzipped. A build over either is refused.
- Three engines, every change
- Every player change runs the conformance suite in Chromium, Firefox and WebKit before it ships.
- Verified on load
- Each file carries its SHA-384. A browser that gets different bytes refuses to run them.
Read next
Start
Reference
- ElementThe attributes the <pb-play> element reads.
- APIMethods, properties, events, states and keyboard shortcuts.
- ConfigurationEvery player option, its default, and the edition that unlocks it.
- Theme tokensEvery value a theme can change.
- Error codesEvery PBP code: what it means and what the player does next.