smithery.ai

love-video

This module is responsible for decoding, controlling, and streaming video files.

First seen Apr 14, 2026

Installation

$ npx skills add https://smithery.ai

Summary

  • This module is responsible for decoding, controlling, and streaming video files.
  • It can't draw the videos, see love.graphics.newVideo and Video objects for that.
  • Use this skill when working with video operations, video decoding, video streaming, or any video-related operations in LÖVE games.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

LicenseMIT
More metadata
author
Ron Dekker <rondekker.nl>

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,937 B
  • docs SUMMARY.md 311 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 3 installs

SKILL.md

When to use this skill

This module is responsible for decoding, controlling, and streaming video files. It can't draw the videos, see love.graphics.newVideo and Video objects for that. Use this skill when working with video operations, video decoding, video streaming, or any video-related operations in LÖVE games.

Common use cases

  • Playing video files and streams
  • Managing video playback and control
  • Handling video decoding and processing
  • Implementing video-based game elements
  • Working with video metadata and properties

Functions

  • love.video.newVideoStream - Creates a new VideoStream. Currently only Ogg Theora video files are supported. VideoStreams can't draw videos, see love.graphics.newVideo for that.

- love.video.newVideoStream(filename: string) -> videostream: VideoStream: No description - love.video.newVideoStream(file: File) -> videostream: VideoStream: No description

Types

  • VideoStream: An object which decodes, streams, and controls Videos.

- love.VideoStream.getFilename() -> filename: string: Gets the filename of the VideoStream. - love.VideoStream.isPlaying() -> playing: boolean: Gets whether the VideoStream is playing. - love.VideoStream.pause(): Pauses the VideoStream. - love.VideoStream.play(): Plays the VideoStream. - love.VideoStream.rewind(): Rewinds the VideoStream. Synonym to VideoStream:seek(0). - love.VideoStream.seek(offset: number): Sets the current playback position of the VideoStream. - love.VideoStream.tell() -> seconds: number: Gets the current playback position of the VideoStream.

Examples

Playing a video

-- Load and play a video file
local video = love.graphics.newVideo("intro.mp4")
video:play()

function love.draw()
  if video:isPlaying() then
    love.graphics.draw(video, 0, 0)
  end
end

Video control

-- Control video playback
function love.keypressed(key)
  if key == "space" then
    if video:isPlaying() then
      video:pause()
    else
      video:play()
    end
  elseif key == "escape" then
    video:stop()
  end
end

Best practices

  • Preload videos during loading screens
  • Consider performance implications of video playback
  • Use appropriate video formats and codecs
  • Handle video loading and playback errors gracefully
  • Test video playback on target platforms

Platform compatibility

  • Desktop (Windows, macOS, Linux): Full video support
  • Mobile (iOS, Android): Limited video format support
  • Web: Browser-based video support with format limitations