The GPUExternalTexture interface of the WebGPU API represents a wrapper object containing an HTMLVideoElement snapshot that can be used as a texture in GPU rendering operations. Available only in secure contexts.
GPUExternalTexture
MDN Reference