Players > Embeds

Integration code

Integrate the player into your site by cutting / pasting the HTML5 code below.

get/1/videos/{channel}/players/{player}/embed

Request

  • Base URL
    https://api.infomaniak.com
  • URL
    https://api.infomaniak.com/1/videos/{channel}/players/{player}/embed
  • Auth
    HTTP bearer

Path parameters

channelinteger required

The unique identifier (ID) of the channel to request.

playerinteger required

The unique identifier (ID) of the player to request.

Query parameters

withstring

Optional : Allows loading additional data about a resource, which may include related resources.

Response

OK

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

Example response

{
  "result": "success",
  "data": {
    "embed": "<iframe style='border:0;' allowfullscreen width='1280' height='720' src='https://player.infomaniak.com?channel=69069&player=4242'></iframe>"
  }
}

Changes

No recorded changes to this operation across all 40 revisions of this API.