Function sampleVideoFrames

Sample frames from a video with the video decoder of the browser. All formats that the browser can play are supported.

This function needs the DOM, so it cannot run in a web worker. To read a URL from another origin, the server must allow CORS.