Skip to main content

is_video

Function is_video 

Source
fn is_video(url: &Url, said: Option<&Attachment>) -> bool
Expand description

Whether url is a video this client can fetch and play: an https address (nothing else is fetched) whose path ends like a video’s, that the note calls one (said), or that is a YouTube video’s.