GET https://api.vidyard.com/dashboard/v1/oembed
Get an oEmbed response with the legacy embed code for a given URL (http://oembed.com/)

Get an oEmbed response with the legacy embed code for a given URL (http://oembed.com/)

Examples

REQUEST
Accept: application/json

RESPONSE
200 (Ok)
{
  "type": "video",
  "version": "1.0",
  "provider_name": "Vidyard",
  "provider_url": "https://vidyard.com/",
  "title": "FRANKEN-BOT",
  "width": 480,
  "height": 270,
  "html": "<script type=\"text/javascript\" id=\"vidyard_embed_code_39iBuu1GAK3yVXVecgso1d\" src=\"//play.vidyard.com/39iBuu1GAK3yVXVecgso1d.js?v=3.1.1&type=inline\"></script>"
}

Params

Param name Description
url
required

The URL to retrieve embedding information for.

Validations:

  • Must be a String

maxwidth
optional

The maximum width of the video.

Validations:

  • Parameter has to be Integer.

maxheight
optional

The maximum height of the video.

Validations:

  • Parameter has to be Integer.


GET https://api.vidyard.com/dashboard/v1.1/oembed
Get an oEmbed response with the responsive embed code for a given URL (http://oembed.com/)

Get an oEmbed response with the responsive embed code for a given URL (http://oembed.com/)

Examples

REQUEST
Accept: application/json

RESPONSE
200 (Ok)
{
  "type": "video",
  "version": "1.0",
  "provider_name": "Vidyard",
  "provider_url": "https://vidyard.com/",
  "title": "FRANKEN-BOT",
  "width": 480,
  "height": 270,
  "html": "<script type=\"text/javascript\" async src=\"https://play.vidyard.com/embed/v4.js\"></script>\n<img\n  style=\"width: 100%; margin: auto; display: block;\"\n  class=\"vidyard-player-embed\"\n  src=\"https://play.vidyard.com/39iBuu1GAK3yVXVecgso1d.jpg\"\n  data-uuid=\"39iBuu1GAK3yVXVecgso1d\"\n  data-v=\"4\"\n  data-type=\"inline\"\n  data-width=\"480\"\n  data-height=\"270\"\n/>"
}

Params

Param name Description
url
required

The URL to retrieve embedding information for.

Validations:

  • Must be a String

maxwidth
optional

The maximum width of the video.

Validations:

  • Parameter has to be Integer.

maxheight
optional

The maximum height of the video.

Validations:

  • Parameter has to be Integer.