Players

Return a player

This endpoint allows you to retrieve a player.

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

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.

account_idinteger required

Account identifier

The account identifier

Response

OK

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

Result of the HTTP request

Example response

{
  "result": "success",
  "data": {
    "name": "MyRadioPlayer",
    "width": 1280,
    "height": 720,
    "logo_img": "https://static.infomaniak.ch/configvideo/video-streaming-v2/private/{channel}/players/{player}/logo.png",
    "logo_percentage": 50,
    "logo_margin_top": 50,
    "logo_margin_left": 50,
    "control_color": "#FFFFFF",
    "controlbar_color": "#000000",
    "control_active_color": "#0098FF",
    "interrupt_img": "https://static.infomaniak.ch/configvideo/video-streaming-v2/private/{channel}/players/{player}/interrupted.png",
    "restrict_img": "https://static.infomaniak.ch/configvideo/video-streaming-v2/private/{channel}/players/{player}/unauthorized.png",
    "facebook_back_link": "my-lovely-stream.ch",
    "twitter_via": "MyAccount",
    "twitter_back_link": "my-lovely-stream.ch",
    "twitter_related": "infomaniak video live",
    "sound_percentage": 50,
    "channel": {
      "id": "1",
      "channel_id": 69001
    },
    "integrations": [
      {
        "type": "hls",
        "url": "https://maniak_tv.vedge.infomaniak.com/livecast/ik:maniak_tv/manifest.f4m",
        "stream_id": "maniak_tv"
      }
    ]
  }
}

Changes

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