Product Walkthroughs
defmodule PyrauiWeb.DocsLive.VideoPlayerDocs do use PyrauiWeb, :html def render(assigns) do ~H"""
Video Player component with custom controls for embedded videos.
A responsive 16:9 player with poster art and native controls.
Autoplays silently, loops in the background, and shows inline metadata.
Inside the Studio
2 min · Behind the scenes
<.video_player
src="https://.../BigBuckBunny.mp4"
poster="https://.../poster.jpeg"
controls
/>
<.video_player
src="https://.../ElephantsDream.mp4"
autoplay
muted
loop
controls={false}
/>
Blend motion, narrative, and performance. Autoplay backgrounds are muted by default and keep page interaction buttery-smooth.
Product Walkthroughs
| Prop | Type | Default | Description |
|---|---|---|---|
| src | string | - | Video source URL |
| autoplay | boolean | false | Autoplay video |