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
Interactive player demo

Documentation

Integrate the CineCast embed player into your application.

Quickstart

Use an iframe to place the player directly in your site. Select content you have permission to stream.

Movie embed

HTML

TV show embed

HTML

Embed URL structure

Movies and shows are identified by their TMDB IDs.

Customization

Set player preferences using supported URL parameters. Encode the # in hex colours as %23.

ParameterTypeDescription
s / enumberSeason and episode for TV shows (default: 1).
autoplaybooleanStart playback automatically (default: true; browser policies apply).
mutedbooleanStart muted (default: false).
autonextbooleanAutomatically advance TV episodes (default: true).
t / timenumberInitial playback position in seconds.
colorhexPlayer accent colour.
sub / audiostringPreferred subtitle or audio language code, where available.
sourcestringPreferred source ID, where available.

Player events

The player sends events through postMessage. Verify both the sender origin and iframe before handling events.

JavaScript
EventDescription
cinecast:readyPlayer metadata ready
cinecast:play / pausePlayback state changed
cinecast:timeCurrent time and duration
cinecast:sourceSource ID, name and status
cinecast:episodeSelected season and episode
cinecast:ended / errorPlayback 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.