Lens Scripting API

    Enumeration VideoStatus

    Describes the current status of a VideoTextureProvider.

    // Check if the video is playing
    //@input Asset.Texture videoTexture
    var provider = script.videoTexture.control;
    if(provider.getStatus() == VideoStatus.Playing){
    print("Video is playing");
    }
    Index

    Enumeration Members

    Enumeration Members

    Paused: number

    The video playback is paused

    Playing: number

    The video is playing

    Preparing: number

    The video is being prepared

    Stopped: number

    The video playback has stopped

    MMNEPVFCICPMFPCPTTAAATR