- video <-
source: file
|name* - File or URL of the video, or @nil
if the encoded data is written to the video.
- video <-
texture: sdl_texture
- Shows the current frame. Display it using an sdl_layer.
- video <-
status: {closed,opening,paused,playing,finished}
closed before video->open
and after video->close, opening
while a network stream is being opened, playing while
playing, finished after the last frame and paused
otherwise.
- video <->
status_message: code*
- Executed with the video and the new video
<-status
when it changes, e.g., when a network stream
is open.
- video <->
loop: bool
- If @on, the
video starts again at the end.
- video <->
message: code*
- Executed with the video when it reaches the end.
- video <->
audio: bool
- If @off, the
video is opened without its sound. Changing it has effect the next time
the video is opened.
- video <-
volume:
- 0
.0..1.0 Gain
applied to the sound. Default is 1.0.
- video <-
options: sheet*
- Options for opening the source. See video
->option.