Video Placeholder API
Placeholder videos from a URL
Drop /video/640x480 into your <video> tag and get back an MP4 with motion. Pick dimensions, duration, FPS, and colours to test players and loading states.
API Documentation
Simple, predictable parameters for every video request.
Base Endpoint
https://imgsrc.pub/video/[WxH]?[params]
- WxH: Dimensions (e.g. 640x480, 1920x1080)
- duration: 1 to 30 seconds (Default: 5)
- fps: 1 to 30 frames/sec (Default: 15)
Style Parameters
- bg / color: Hex codes (e.g. bg=333333)
- text: URL encoded content for overlay
- size: Font size in pixels
Standard MP4
Encoded using H.264 for maximum compatibility across all browsers and devices.
Smart Caching
Requests are cached and delivered via CDN for sub-second delivery globally.
Infinite Loop
Perfectly timed frames ensure smooth looping in background video implementations.