Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@framv/video

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@framv/video

Video player primitives for framv — seek, play and pause HTML/SVG animations in the browser

latest
Source
npmnpm
Version
0.1.2
Version published
Weekly downloads
14
-56.25%
Maintainers
1
Weekly downloads
 
Created
Source

@framv/video

<framv-video> — declarative HTML element that renders any HTML/CSS/SVG content to MP4 or WebM video. CSS @keyframes and SVG SMIL <animate> are captured frame-by-frame.

Install

npm install @framv/video

CDN

<script src="https://cdn.jsdelivr.net/npm/@framv/core/dist/bundle.iife.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@framv/video/dist/bundle.iife.js"></script>

<framv-video width="800" height="600" fps="30" duration="4" controls>
  <div style="animation: fadeIn 0.6s ease both">Hello framv</div>
</framv-video>

Attributes

AttributeDefaultDescription
width1920Canvas width
height1080Canvas height
fps30Frames per second
duration5Duration in seconds
formatmp4Export format: mp4 or webm
quality0.95Export quality 0–1
controlsAlways show transport bar
autoplayStart playing on load
loopLoop playback

Programmatic

import "@framv/video"; // registers <framv-video>
import { Player } from "@framv/video";

const player = new Player(document.querySelector("#content"));
player.setDuration(10);
player.play();

Keywords

player

FAQs

Package last updated on 23 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts