Players > Embeds

Integration url

Try to retrieve the parameters needed to construct an iframe for the player identified by the given player ID for the given channel, or for the last updated player of the channel, if any. If the channels hasn't any player and that no player ID is provided, it will return parameters for a default player.

If the channels doesn't exist or that the player isn't linked to the channel, or that the channel is badly configured, this will throw an error.

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

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": {
    "src": "https://player.infomaniak.com?channel=69069&player=4242",
    "channel_id": 69001
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.