Mediaplayer Javascript Embed Code

Javascript code that renders a player using Playout options, publication data and content data as specified.

The Mediaplayer Embed Controller delivers players and content on websites or in apps. Several playout related options can be specified/overruled by issueing query string parameters. For a full list of playout options see [ Player API Guide ].

Request
/p/{playout name}/{content type identifier}/{content id}.js?[query_string]

Parameter Type Description
Required parameters    
{id} int The id of the media-clip
{playout name} string The name of the playout to be used
{content type identifier} string c (clip), l (list) or q (query).
{content id} int The id of the clip or cliplist, or the query in case of a 'q' content type identifier
Optional parameters    
[query_string] string several options. eg. autoPlay, width, height autoMute