Skip to main content

video_box

Function video_box 

Source
pub fn video_box<'a>(
    url: &'a str,
    label: impl Into<Cow<'a, str>>,
    size: Option<(u32, u32)>,
    posters: &'a [String],
    context: &RowContext<'a>,
) -> Element<'a, Message>
Expand description

The video at url, for under the note that links to it: where it plays, in the proportions of size, with the first of posters that can be had standing for it until it does, and the bar it is played by, on which label stands for its address. A click anywhere on it that is not on something of the bar plays it, or holds it.