A complete rewrite of the Trailer Preview plugin, providing Netflix-style trailer previews when hovering over movies and TV shows in Jellyfin.
- Complete Rewrite: Built on HoverTrailer's proven architecture for stability
- Netflix-Style Overlay: Centered, fullscreen overlay with background dimming
- Comprehensive Configuration: 20+ customizable options
- Fixed Critical Bugs: Resolved JavaScript decimal formatting issues
- Improved Error Handling: Defensive programming, never crashes
- Multi-Platform Support: Web, Desktop, Mobile, and TV clients
- Better Performance: Optimized script injection and event handling
- Enable/disable trailer previews
- Debug logging for troubleshooting
- Hover delay (default: 800ms)
- Preview duration (default: 30s, 0 = unlimited)
- Fade in/out animations (customizable)
- Preview size (width/height as viewport percentage)
- Position (center, top, bottom)
- Background dimming with adjustable opacity
- Title overlay
- Enable/disable audio
- Adjustable volume (default: 30%)
- Selective enable/disable for Web, Desktop, Mobile, TV
- Go to Dashboard → Plugins → Repositories
- Add repository:
https://raw.githubusercontent.com/Ziifkah/jellyfin-plugin-trailerpreview/main/manifest.json - Go to Catalog and install "Trailer Preview"
- Restart Jellyfin
- Download
jellyfin-plugin-trailerpreview_2.0.0.zipfrom releases - Extract to
{jellyfin-config}/plugins/Trailer Preview/ - Restart Jellyfin
Navigate to Dashboard → Plugins → Trailer Preview to configure all options.
- Jellyfin 10.10.0 or higher
- .NET 8.0 runtime
- Movies/TV shows with trailer metadata (YouTube URLs or local files)
- Plugin:
Plugin.cs- Handles initialization and script injection - Configuration:
PluginConfiguration.cs- All configuration options - API Controller:
TrailerPreviewController.cs- Serves client script and trailer data - Client Script: Generated dynamically with configuration injected
The plugin uses a dual approach:
- File Transformation Plugin (preferred): Registers with FileTransformation plugin if available
- Direct Injection (fallback): Modifies index.html directly
- Plugin injects JavaScript into Jellyfin's web client
- JavaScript observes DOM for movie/TV show cards
- On hover (after delay), fetches trailer info from API
- Creates Netflix-style overlay with video player
- Removes overlay on click or after duration
- Verify repository URL is correct
- Check Jellyfin version (must be 10.10.0+)
- Restart Jellyfin server
- Enable debug logging in plugin settings
- Check browser console (F12) for errors
- Verify movies have trailer metadata
- Check platform support settings
- Clear browser cache
- Hard refresh (Ctrl+Shift+R)
- Check browser console for JavaScript errors
- Based on HoverTrailer by Fovty
- Developed with Claude Code
- Maintained by Ziifkah
MIT License - See LICENSE file for details
- Complete rewrite based on HoverTrailer architecture
- Netflix-style overlay implementation
- Fixed JavaScript decimal formatting bugs (CultureInfo.InvariantCulture)
- Comprehensive configuration options (20+ settings)
- Improved error handling and stability
- Multi-platform support
- Better performance and resource management
- Initial release
- Basic hover preview functionality