Skip to content

love.graphics_newVideo

oblerion edited this page Sep 15, 2022 · 1 revision

call

let vid = love.graphics_newVideo(filename);

parameter

  • filename : string path of file. be aware it can't verify path's file, use webm file .

return

return video object. can draw with love.graphics_draw().
object.play() -> play video.
object.pause() -> stop video.

Clone this wiki locally