Docs sections
Search⌘KEmbed parameters
The embedded player accepts two URL parameters.
On this page
| Parameter | What it does | Example |
|---|---|---|
t | start at the given second | /embed/<code>?t=90 |
item | open the playlist at a specific video (video code) | /embed/pl/<code>?item=<video code> |
iframe attributes
The console gives you allow="autoplay; fullscreen; picture-in-picture; encrypted-media; clipboard-write; screen-wake-lock;" and allowfullscreen. Keep them, or fullscreen, picture-in-picture and encrypted streams won't work.
- Responsive code: a wrapper with
padding-topmatching the aspect ratio and an iframe at 100%. - Fixed code:
widthandheightin pixels.
Where embedding is allowed: Allowed domains. From code: embedUrl() / embedHtml() in the Player SDK.
Updated: