love.graphics.newVideo
Creates a new drawable Video. Currently only Ogg Theora video files are supported.
video = love.graphics.newVideo( filename )
filename string The file path to the Ogg Theora video file.
video Video A new Video.
video = love.graphics.newVideo( videostream )
videostream VideoStream A video stream object.
video Video A new Video.
video = love.graphics.newVideo( filename, settings )
filename string The file path to the Ogg Theora video file (or VideoStream).
settings table A table containing the following fields:
settings.audio (false) boolean Whether to try to load the video's audio into an audio Source. If not explicitly set to true or false, it will try without causing an error if the video has no audio.
settings.dpiscale (love.graphics.getDPIScale()) number The DPI scale factor of the video.
video Video A new Video.
video = love.graphics.newVideo( filename, loadaudio )
filename string The file path to the Ogg Theora video file.
loadaudio (nil) boolean Whether to try to load the video's audio into an audio Source. If not explicitly set to true or false, it will try without causing an error if the video has no audio.
video Video A new Video.
video = love.graphics.newVideo( videostream, loadaudio )
videostream VideoStream A video stream object.
loadaudio (nil) boolean Whether to try to load the video's audio into an audio Source. If not explicitly set to true or false, it will try without causing an error if the video has no audio.
video Video A new Video.