Media card
Inline preview for an image, video, or file attachment inside a chat message.
Images, avatars, file inputs, maps, and QR codes.
lr-media-card
import '@aceshooting/lyra-ui/components/lr-media-card.js';Related components
- Pan zoom — Scrollable viewport for panning and zooming into slotted content or a single image at a bounded zoom level.
- Sequence playback — Play/pause transport that steps an index through a range on a fixed timer.
- QR code — Encodes any value as a scannable QR code symbol rendered to canvas.
- Video — Inline video player with custom controls, selectable captions, and thumbnail previews.
- Video playlist — Plays a sequence of videos in a navigable playlist, advancing automatically as each one finishes.
- Zoomable frame — Sandboxed iframe preview with discrete zoom controls; the former slotted/image inspection surface is lr-pan-zoom.