Starts playing a video and waits for it to be consumable. Returns a promise which resolves after callback (which may be async) completes.
callback
An HTML5 Video element.
Function to call when video is ready.
Adapted from https://github.com/KhronosGroup/WebGL/blob/main/sdk/tests/js/webgl-test-utils.js
Generated using TypeDoc
Starts playing a video and waits for it to be consumable. Returns a promise which resolves after
callback
(which may be async) completes.