Interface VideoTextureSettings
interface VideoTextureSettings {
autoPlay?: boolean;
autoUpdateTexture: boolean;
format?: number;
independentVideoSource?: boolean;
loop?: boolean;
muted?: boolean;
poster?: string;
}
autoPlay?: boolean;
autoUpdateTexture: boolean;
format?: number;
independentVideoSource?: boolean;
loop?: boolean;
muted?: boolean;
poster?: string;
}
Index
Properties
Optionalauto Play
autoPlay?: boolean
Applies autoplay to video, if specified
auto Update Texture
autoUpdateTexture: boolean
Automatically updates internal texture from video at every frame in the render loop
Optionalformat
format?: number
Defines the associated texture format.
Optionalindependent Video Source
independentVideoSource?: boolean
Notify babylon to not modify any video settings and not control the video's playback. Set this to true if you are controlling the way the video is being played, stopped and paused.
Optionalloop
loop?: boolean
Applies loop to video, if specified
Optionalmuted
muted?: boolean
Applies muted to video, if specified
Optionalposter
poster?: string
Image src displayed during the video loading or until the user interacts with the video.
Settings for finer control over video usage