Interface: VideoSourceOptions

VideoSourceOptions

Options for video sources.

Properties:
Name Type Description
alphaMode ALPHA_MODES

The alpha mode of the video.

autoLoad boolean

If true, the video will start loading immediately.

autoPlay boolean

If true, the video will start playing as soon as it is loaded.

crossorigin boolean | string

If true, the video will be loaded with the crossorigin attribute.

loop boolean

If true, the video will loop when it ends.

muted boolean

If true, the video will be muted.

playsinline boolean

If true, the video will play inline.

preload boolean

If true, the video will be preloaded.

preloadTimeoutMs number

The time in milliseconds to wait for the video to preload before timing out.

updateFPS number

The number of times a second to update the texture from the video. Leave at 0 to update at every render.

Extends

Members

alphaMode ALPHA_MODES

The alpha mode of the video.

autoLoad boolean

If true, the video will start loading immediately.

autoPlay boolean

If true, the video will start playing as soon as it is loaded.

crossorigin boolean | string

If true, the video will be loaded with the crossorigin attribute.

loop boolean

If true, the video will loop when it ends.

muted boolean

If true, the video will be muted.

playsinline boolean

If true, the video will play inline.

preload boolean

If true, the video will be preloaded.

preloadTimeoutMs number

The time in milliseconds to wait for the video to preload before timing out.

updateFPS number

The number of times a second to update the texture from the video. Leave at 0 to update at every render.