Video Streaming APIBuilt for your website.
Embed a modern video player for movies and TV episodes in your own website with a simple iframe. Try the player below and get your embed code in seconds.
Enter a TMDB ID and click play to start
HTML
Embed a modern video player for movies and TV episodes in your own website with a simple iframe. Try the player below and get your embed code in seconds.
Integrate the CineCast embed player into your application.
Use an iframe to place the player directly in your site. Select content you have permission to stream.
Movies and shows are identified by their TMDB IDs.
Set player preferences using supported URL parameters. Encode the # in hex colours as %23.
| Parameter | Type | Description |
|---|---|---|
| s / e | number | Season and episode for TV shows (default: 1). |
| autoplay | boolean | Start playback automatically (default: true; browser policies apply). |
| muted | boolean | Start muted (default: false). |
| autonext | boolean | Automatically advance TV episodes (default: true). |
| t / time | number | Initial playback position in seconds. |
| color | hex | Player accent colour. |
| sub / audio | string | Preferred subtitle or audio language code, where available. |
| source | string | Preferred source ID, where available. |
The player sends events through postMessage. Verify both the sender origin and iframe before handling events.
| Event | Description |
|---|---|
| cinecast:ready | Player metadata ready |
| cinecast:play / pause | Playback state changed |
| cinecast:time | Current time and duration |
| cinecast:source | Source ID, name and status |
| cinecast:episode | Selected season and episode |
| cinecast:ended / error | Playback finished or failed |
Playback depends on source availability, browser codec support and the configured playback service. Do not sandbox the iframe; allow fullscreen and autoplay as required.