Working with oEmbed: Embedding Videos

Gumlet Supports oEmbed and you can use it to generate embeddable iframe for the Gumlet Videos

oEmbed is a standard framework across the Internet for Embedding video and other content. We support oEmbed for the widespread acceptability of Gumlet videos across platforms and devices.

Embedding videos with oEmbed

Get the oEmbed response using a request:


The video URL (video_url) can support any of these schemes:

This URL is ...URL Scheme
A watch page{video_id}
A play embed code{video_id}

You can use any of the parameters mentioned in the Table to add more configurations.

Here is the sample response:

    "version": "1.0",
    "type": "video",
    "provider_name": "Gumlet",
    "provider_url": "",
    "title": "launch video 3",
    "thumbnail_url": "",
    "thumbnail_width": 800,
    "thumbnail_height": 450,
    "width": 800,
    "height": 450,
    "html": "<iframe allowfullscreen width=\"800\"  height=\"450\" src=\"\" title=\"launch video 3\" frameBorder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; fullscreen\"></iframe>"

The response fields can be described as below:

versionThe type of the oEmbed, which in this case is video.
typeThe version of the oEmbed Specifications.
provider_nameThe name of the oEmbed provider, i.e. Gumlet
provider_urlThe name of the oEmbed provider, i.e.
titleThe title of the video
thumbnail_urlThe thumbnail URL of the video
thumbnail_widthThe width of the thumbnail
thumbnail_heightThe height of the thumbnail
widthThe height of the video
heightThe width of the video
htmlThe <iframe>element for embedding the video.

Final Step

Embed the unescaped value from the response (html field), and include it in your HTML page:

  <title>My Video Page</title>
  <iframe src="" width="800" height="450" frameborder="0" title="launch video 3" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>

Discover the oEmbed URL

The <head> section of Gumlet's video page contains the meta tag:

<link rel="alternate" type="application/json+oembed" href=";format=json"/>

The discovery tag helps editors, and platforms discover the oEmbed tag when you add the URL to a system that supports oEmbed discovery.

Feel free to reach out to chat support in case of any queries.