Media: video, audio, files

meya.video

Outputs an inline video of the video specified in the url. Renders as a playable video.

PropertyDescription
urlthe url of the video to playRequired

Example: A video card defined in the flow definition and called from a custom component.

component: meya.video
properties:
    url: "https://s3.amazonaws.com/meya-static/aurora-borealis.mp4"
from meya.cards import Video

video_card = Video(url="https://s3.amazonaws.com/meya-static/aurora-borealis.mp4")

meya.audio

Outputs an inline audio clip of the audio specified in the url. Renders as a playable audio clip.

PropertyDescription
urlthe url of the audio to playRequired

Example: An audio card defined in the flow definition and called from a custom component.

component: meya.audio
properties:
    url: "https://s3.amazonaws.com/meya-static/rooster.mp3"
from meya.cards import Audio

audio_card = Audio(url="https://s3.amazonaws.com/meya-static/rooster.mp3")

meya.file

Outputs a message with a clickable downloadable file link with the file specified from the url.

PropertyDescription
urlthe url of the fileRequired

Example: A file card defined in the flow definition and called from a custom component.

component: meya.file
properties:
    url: "https://s3.amazonaws.com/meya-static/roosters.pdf"
from meya.cards import File

file_card = File(url="https://s3.amazonaws.com/meya-static/roosters.pdf")