Graphics RenderingRender NodesVideoNodeOn this pageVideoNode Description: A class that represents a video node. Class Object: VideoNode Class. Inherits from: Sprite. The Web dora-preset supports Ogg/Theora video with embedded Vorbis audio. Enable VIDEO explicitly for core builds. Video decoding runs on the logic loop without requiring pthreads or SharedArrayBuffer. Audio playback follows browser user-gesture requirements. pause Type: Function. Description: Pauses the video and embedded audio playback. Signature: pause: function(self: VideoNode) resume Type: Function. Description: Resumes both tracks; restarts from zero after the end. Signature: resume: function(self: VideoNode) readonly Type: Field. Description: Whether the video is currently paused. Signature: readonly paused: boolean play Starts or resumes both tracks; restarts from zero after the end. play: function(self: VideoNode) seek Seeks both tracks in seconds, clamped to [0, duration]. Preserves pause and updates the paused image asynchronously. Non-finite values are ignored. seek: function(self: VideoNode, seconds: number) rewind Seeks to zero while preserving the paused state. rewind: function(self: VideoNode) currentTime Current playback position in seconds. readonly currentTime: number duration Total playback duration in seconds, the longer of the audio and video tracks. readonly duration: number playing Whether playback is requested in the running scene and has not paused or ended. Includes buffering. readonly playing: boolean