Docs sectionsSearch⌘K

DocsPlacement

Player on your site

Copy the code in the console and paste it into your page's HTML — the player appears on your site.

On this page
Embed → Copy code → player on the site. Video: Spring, © Blender Foundation, CC BY 4.0

How to embed

  1. Open a video, playlist, broadcast or channel and click Embed at the top of the page.
  2. Choose Responsive (the player stretches to the width of its container; set the aspect ratio — 16 : 9, or 9 : 16 for vertical video) or Fixed (width and height in pixels).
  3. Click Copy code and paste it into your page's HTML.

    The Embed dialogThe Embed dialog
    Player code. Video: Spring, © Blender Foundation, CC BY 4.0
html
<div style="position:relative;padding-top:56.25%;width:100%">
  <iframe src="https://watch.dodocast.com/embed/code"
    allow="autoplay; fullscreen; picture-in-picture; encrypted-media; clipboard-write; screen-wake-lock;"
    frameborder="0" allowfullscreen
    style="position:absolute;width:100%;height:100%;top:0;left:0;"></iframe>
</div>

Embed URLs: /embed/<code> — video, /embed/pl/<code> — playlist, /embed/live/<code> — broadcast, /embed/ch/<code> — channel. ?t=90 starts the video at second 90.

Where the player can appear

On the Access tab, in the Embedding block, under Where can the player be shown?:

  • Everywhere — on any site;
  • Nowhere — the player will not load on any third-party site;
  • On specified domains — only on your sites, for example example.com or *.example.com.
The Embedding block on the Access tabThe Embedding block on the Access tab
Access → Embedding: everywhere, nowhere or on specified domains

Note

Embedding works only while the item is published. The access policy (password, private link) also applies in the embedded player.

Updated:

    ↑ ↓ to select, Enter to open, Esc to close