Interface: LoadVideoConfig

PIXI.LoadVideoConfig

Configuration for the loadVideo loader parser.

Properties:
Name Type Default Description
defaultAutoPlay boolean true

When set to true, the video will start playing automatically after being loaded, otherwise it will not start playing automatically.

defaultLoop boolean false

When set to true, the loaded video will loop by default.

defaultMuted boolean false

When set to true, the loaded video will be muted.

defaultPlaysinline boolean true

When set to true, opening the video on mobile devices is prevented.

defaultUpdateFPS number 0

How many times a second to update the texture of the loaded video by default. If 0, requestVideoFrameCallback is used to update the texture. If requestVideoFrameCallback is not available, the texture is updated every render.

See:

Members

defaultAutoPlay boolean

When set to true, the video will start playing automatically after being loaded, otherwise it will not start playing automatically.

Default Value:
  • true

defaultLoop boolean

When set to true, the loaded video will loop by default.

Default Value:
  • false

defaultMuted boolean

When set to true, the loaded video will be muted.

Default Value:
  • false

defaultPlaysinline boolean

When set to true, opening the video on mobile devices is prevented.

Default Value:
  • true

defaultUpdateFPS number

How many times a second to update the texture of the loaded video by default. If 0, requestVideoFrameCallback is used to update the texture. If requestVideoFrameCallback is not available, the texture is updated every render.

Default Value:
  • 0