The Embed endpoint generates embed player code based on a Player object. The types of embed codes are embed, short, and iframe.
Embed: Html div and inline javascript. The content is static and will not be updated when modifying the player object.
Short: Html div and external javascript. The external javascript will embed the current version of a player on each page load.
Iframe: loads the embed code as an Iframe that uses the current version of the player.
Universally Unique Identifier
Sample value:ed6c1e8b-4c13-41dc-b065-34cbffcdc1c7
Path to the Video-on-Demand file
Default:
Sample value:sestore1/username/play_this_file.mp4
Only for:
embed_type: vod
embed_type: vod-playlist
Player Type
Enum:live, vod, vod-playlist
Default:
Sample value:vod
Player Protocol
Enum:auto, hls, rtmp, dash
Default:
Sample value:hls
Player software to use
Enum:clappr, jwplayer
Default:
Sample value:clappr
Watermark Image
Default:
Sample value:https://my.domain.com/watermark.jpg
Watermark Position on the Player
Enum:bottom-left, bottom-right, top-left, top-right
Default:top-left
Sample value:bottom-right
Poster Image URL
Default:auto
Sample value:https://my.domain.com/poster.jpg
[Not Implemented]Locks the player to one or more domains
Default:
Sample value:
Player settings
Get the Embeds object with id .
https://api.scaleengine.net/dev/v2/embeds/
curl --user 158:8fc8c48da81e6a2a06a9556379bf798af508dc0792497c678b4c3532ba8b637f https://api.scaleengine.net/dev/v2/embeds/
None
{ "code": "<div id=\"se_video_12345678-1234-1234-1234-123445678901\"></div>\r\n<script type=\"text/javascript\" src=\"//username-player.secdn.net/fulljs/12345678-1234-1234-1234-123445678901.js\"></script>" }
This object is read-only and cannot be created.
This object is read-only and cannot be updated.
This object is read-only and cannot be deleted.