Complete Tutorial - Create Professional Media Presentations with Web Recording
This powerful web application allows you to:
Import images and videos from JSON configuration files
9:16 portrait or 16:9 landscape aspect ratios
Manual or automatic slideshow playback
Record presentations as WebM video files
Save the HTML code provided earlier as media-viewer.html
Double-click the HTML file to open it in your web browser
Create a JSON file with this exact structure:
| Field | Type | Description | Example |
|---|---|---|---|
type |
string | Must be "image" or "video" | "image" |
url |
string | Full URL to media file | "https://site.com/photo.jpg" |
duration |
number | Display time in seconds | 3.5 |
The application is divided into 5 main sections:
Load your JSON configuration file here
Settings and navigation buttons
Main area showing media
All loaded media items
Click the "Choose File" button and select your JSON configuration file
| Problem | Solution |
|---|---|
| "Invalid JSON format" | Validate JSON at jsonlint.com |
| Media not loading | Check CORS permissions, use local server |
| Black screen | Verify media URLs in JSON file |
Choose between two display modes:
Perfect for:
Perfect for:
Control how long each media displays during auto-play:
Slider: Drag between 1-10 seconds
Input box: Type exact values (supports decimals like 2.5)
• Previous/Next buttons
• Click media list items
• ← Previous media
• → Next media
• Space Toggle auto-play
Create automatic slideshows:
Everything displayed is captured:
For local files, you need a local server:
| Key | Action | Description |
|---|---|---|
| ← Left Arrow | Previous Media | Go to previous item |
| → Right Arrow | Next Media | Go to next item |
| Space | Toggle Auto-play | Start/stop automatic slideshow |
| R | Toggle Recording | Start/stop recording (canvas must be focused) |
| Symptom | Possible Cause | Solution |
|---|---|---|
| Recording not working | Browser permissions | Allow screen recording permission, use Chrome/Firefox |
| Media won't load | CORS restrictions | Use local server for local files |
| Slow performance | Large media files | Optimize images/videos before loading |
| Auto-play too fast | Duration setting | Increase duration in settings |
| WebM won't play | Codec support | Convert to MP4 using online converter |
Download the application now and create amazing media presentations!
📥 Download Media Viewer