Download the PHP package trych/kirby-lottie-file-preview without Composer
On this page you can find all versions of the php package trych/kirby-lottie-file-preview. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download trych/kirby-lottie-file-preview
More information about trych/kirby-lottie-file-preview
Files in trych/kirby-lottie-file-preview
Package kirby-lottie-file-preview
Short Description Kirby CMS plugin that adds Lottie animation file previews to the panel.
License MIT
Homepage https://github.com/trych/kirby-lottie-file-preview
Informations about the package kirby-lottie-file-preview
Kirby Lottie File Preview
A Kirby CMS plugin that adds Lottie animation file previews to the panel.
Features
- 🎬 Preview Lottie animations directly in the Kirby Panel
- ⚙️ Configurable player options (controls, autoplay, loop, speed, etc.)
- 🔧 Custom detail fields support
Installation
Via Composer (recommended)
Manual Installation
- Download the latest release
- Extract to
site/plugins/lottie-file-preview
Via Git Submodule
Requirement
- Kirby v5
Usage
The plugin automatically adds a preview for Lottie JSON files in the panel file view. No additional configuration is required for basic usage.
Configuration
You can customize the plugin behavior with the following properties in your config.php
(shown are the default values):
As shown above, the detail text and link accepts Kirby query strings.
Asset Loading
The plugin automatically handles loading the Lottie player library:
- Default: Uses CDN (unpkg.com) - cached by browser, always up-to-date
- Offline support: Automatically uses local copy if
assets/lottie-player.js
exists
For Offline Usage (Optional)
If you need offline support, simply download the Lottie player:
Or download it manually and place it in site/plugins/lottie-file-preview/assets/lottie-player.js
.
The plugin will detect and use the local file.
Credits
- Built with LottieFiles Lottie Player
- Powered by Kirby CMS
- Preview animation by Paul Voggenreiter
Changelog
See CHANGELOG.md for details.
License
Timo Rychert