Loading...
 
Skip to main content

History: Lottie Integration

Source of version: 1

Copy to clipboard
            !!! Proposal: Integrating Lottie Animations into Tiki Wiki

{BOX(title="What is Lottie?" type="info")}
Lottie is a modern way to add animations to websites and apps. It uses small JSON files to render high-quality, smooth animations that scale well on any screen size.

Unlike GIFs or videos, Lottie animations are lightweight and fast, making them perfect for online content.

More about Lottie: [https://lottiefiles.com/what-is-lottie|LottieFiles – What is Lottie?]
{BOX}

{BOX(title="Why Add Lottie Support to Tiki?" type="tip")}
Tiki is a powerful platform for creating and sharing content. By integrating Lottie, we can:

* Embed beautiful animations directly in wiki pages.
* Make tutorials, guides, and presentations more engaging.
* Add motion and energy to static pages.
* Use animations for branding (e.g. animated logos or mascots).
* Help users communicate ideas more clearly using visuals.

This makes our platform feel more modern and intuitive.
{BOX}

!!! How Would This Work in Tiki?

We propose a new wiki plugin: `{LOTTIE}`

This plugin allows users to embed Lottie animations by referencing a file from the File Gallery or an external source.

Example usage:

{CODE(wrap="1")}
{LOTTIE(
  src="tiki-download_file.php?fileId=123",
  loop="true",
  autoplay="true",
  speed="1.5",
  width="400px",
  height="400px",
  background="transparent"
)}
{CODE}

Or a simplified version:

{CODE(wrap="1")}
{LOTTIE src="tiki-download_file.php?fileId=123"}
{CODE}

The plugin renders a Lottie animation directly inside the wiki page.

!!! Which Technology Will We Use?

We recommend using the official **dotLottie Web** player from LottieFiles:

[https://github.com/LottieFiles/dotlottie-web|GitHub – dotLottie Web Player]

This is a lightweight and modern Web Component that works on all browsers. It allows full control over animation playback and is actively maintained.

!!! Benefits of the Lottie Plugin

* Lightweight and fast — no performance issues
* Scales beautifully on mobile and desktop
* Easy to use in wiki pages
* Supports looping, autoplay, custom speed, and size
* Makes content visually appealing and easier to understand
* Works well in documentation, onboarding, branding, and tutorials

!!! Security and Permissions

* Only trusted users can upload Lottie (.json) files
* File gallery permissions still apply
* Uploaded content is validated to prevent malicious input

!!! Summary

Integrating Lottie into Tiki will:

* Bring animation support directly to wiki content
* Improve user experience and visual communication
* Allow users to create richer, more modern content
* Keep Tiki in line with today’s web standards

!!! Next Steps (If Approved)

# Develop the `{LOTTIE}` plugin for wiki content
# Support `.json` and `.lottie` uploads in the File Gallery
# Include the dotLottie Web Player in the Tiki frontend
# Document how users can embed animations in their pages

Please review and share any feedback. If approved, we can move to implementation planning.

        

History

Information Version
aksanti.bahiga 12
aksanti.bahiga 11
aksanti.bahiga 10
aksanti.bahiga 9
aksanti.bahiga 8
aksanti.bahiga 7
aksanti.bahiga 6
aksanti.bahiga 5
aksanti.bahiga 4
aksanti.bahiga 3
aksanti.bahiga 2
aksanti.bahiga 1
Collapse/expand modules below