This plugin allows to add Lottie animations into October CMS with ease.
Component
Use this code in INI section to inject JS player into your page/partial/layout.
[lottie]
When it's done, you can use Lottie player as many times as you want with different values of url property.
Next example code will generate two animations following one-by-one:
{% component 'lottie' url='https://example.com/path/to/file1.json' %} {% component 'lottie' url='https://example.com/path/to/file2.json' %}
Initial release can only play animations continuously in an infinite loop. But I'm optimistic about expanding functionality
-
This plugin has not been reviewed yet.
-
1.2.3 |
lottie-web v5.12.2 Jul 15, 2023 |
---|---|
1.2.2 |
lottie-web v5.11.0 May 10, 2023 |
1.2.0 |
custom visual modes Apr 08, 2022 |
1.1.0 |
jQuery dependency removed Nov 26, 2021 |
1.0.1 |
lottie-web v5.7.14 Nov 01, 2021 |
1.0.0 |
? hello world Sep 27, 2021 |