pixi.js
    Preparing search index...

    Variable loadVideoTexturesConst Advanced

    loadVideoTextures: {
        extension: { name: string; type: LoadParser };
        name: string;
        load<T>(
            url: string,
            asset: ResolvedAsset<LoadVideoData>,
            loader: Loader,
        ): Promise<Texture<TextureSource<any>>>;
        test(url: string): boolean;
        unload(texture: Texture): void;
    } = ...

    A simple plugin to load video textures.

    You can pass VideoSource options to the loader via the .data property of the asset descriptor when using Asset.load().

    // Set the data
    const texture = await Assets.load({
    src: './assets/city.mp4',
    data: {
    preload: true,
    autoPlay: true,
    },
    });

    Type declaration