Pixi’VN
indexType aliases

Type Alias: VideoSpriteEventType

pixi-vn on GitHub

> VideoSpriteEventType = "ended"

Defined in: src/canvas/components/VideoSprite.ts:27

The savable events of a VideoSprite, in addition to the PixiJS container events:

  • "ended": the video reached its end (the ended event of the HTMLVideoElement); the listener receives (component). Looping videos never emit it.

They are not emitted while the video is loaded or a save is restored.