Skip to content
Player and embeds

Embedding

Publish responsive iframes and control BaPlay embeds safely.

Responsive iframe markup

Resolve a source in the embed generator, then publish its /e/{id} URL. The minimal embed layout loads only player assets and is designed to fill the iframe viewport.

<iframe
  src="https://video.example/e/public-id"
  width="100%"
  height="100%"
  style="aspect-ratio:16/9;border:0"
  loading="lazy"
  allow="autoplay; fullscreen; picture-in-picture"
  allowfullscreen>
</iframe>

Playback parameters

autoplay=1
Requests autoplay. BaPlay also mutes to satisfy browser policy.
muted=1
Starts playback without audio.
loop=1
Restarts progressive or adaptive playback after ending.

Security

Never build embeds from an unvalidated upstream URL. BaPlay embeds use persisted public IDs and signed stream routes, so upstream sources and provider credentials are not copied into publisher markup.