Smithery Logo
MCPsSkillsDocsPricing
Login
Smithery Logo

Accelerating the Agent Economy

Resources

DocumentationPrivacy PolicySystem Status

Company

PricingAboutBlog

Connect

© 2026 Smithery. All rights reserved.

    redkenrok

    love-video

    redkenrok/love-video
    Coding
    2 installs

    About

    SKILL.md

    Install

    Install via Skills CLI

    or add to your agent
    • Claude Code
      Claude Code
    • Codex
      Codex
    • OpenClaw
      OpenClaw
    • Cursor
      Cursor
    • Amp
      Amp
    • GitHub Copilot
      GitHub Copilot
    • Gemini CLI
      Gemini CLI
    • Kilo Code
      Kilo Code
    • Junie
      Junie
    • Replit
      Replit
    • Windsurf
      Windsurf
    • Cline
      Cline
    • Continue
      Continue
    • OpenCode
      OpenCode
    • OpenHands
      OpenHands
    • Roo Code
      Roo Code
    • Augment
      Augment
    • Goose
      Goose
    • Trae
      Trae
    • Zencoder
      Zencoder
    • Antigravity
      Antigravity
    ├─
    ├─
    └─

    About

    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...

    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
    Recommended Servers
    Youtube
    Youtube
    vastlint - IAB XML VAST validator and linter
    vastlint - IAB XML VAST validator and linter
    Gemini
    Gemini
    Repository
    redkenrok/skills
    Files