Skip to main content

Module video_poster

Module video_poster 

Source
Expand description

A web video’s opening, enough for a webview to show its first frame, fetched as byte ranges rather than the whole file.

WebM starts with its first frames. MP4 and MOV need their index (moov) too, which a camera often writes after the data: then it is fetched from where it sits and moved to the front, its chunk offsets shifted by its own length, as qt-faststart does. What comes back is a short file that plays its first frames and stops.

Structs§

Poster

Functions§

fetch
The opening of the video at url, through the transport and the privacy proxy like any other media. An error means no frame is shown, never a broken one.