Video

Available since LÖVE 0.10.0
This type is not supported in earlier versions.

A drawable video.

Constructors

love.graphics.newVideo Creates a new Video. 0.10.0

Functions

Object:release Immediately destroys the object's Lua reference. 11.0
Object:type Gets the type of the object as a string.
Object:typeOf Checks whether an object is of a certain type.
Video:getDimensions Gets the width and height of the Video. 0.10.0
Video:getFilter Gets the scaling filters used when drawing the Video. 0.10.0
Video:getHeight Gets the height of the Video. 0.10.0
Video:getSource Gets the audio Source used for playing back the video's audio. 0.10.0
Video:getStream Gets the VideoStream object used for decoding and controlling the video. 0.10.0
Video:getWidth Gets the width of the Video. 0.10.0
Video:isPlaying Gets whether the Video is currently playing. 0.10.0
Video:pause Pauses the Video. 0.10.0
Video:play Starts playing the Video. 0.10.0
Video:rewind Rewinds the Video to the beginning. 0.10.0
Video:seek Sets the current playback position of the Video. 0.10.0
Video:setFilter Sets the scaling filters used when drawing the Video. 0.10.0
Video:setSource Sets the audio Source used for playing back the video's audio. 0.10.0
Video:tell Gets the current playback position of the Video. 0.10.0

Supertypes

See Also

© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/Video