loadVideoTexture()
ts
function loadVideoTexture(
src: string,
params?: LoadVideoParams,
): ImageTextureParams<HTMLVideoElement>;Loads a video from a URL and returns ImageTextureParams.
Parameters
src
string
URL of the video.
params?
Additional video loading options.
Returns
ImageTextureParams<HTMLVideoElement>