VAP(Video Animation Player) is a fantastic animation player. It can play video with alpha channel.
-
Compared with Webp or Apng animation, it has the advantages of high compression rate (smaller material) and hardware decoding.
-
Compared with Lottie, it can achieve more complex animation effects (such as particle effects)
More detail: Introduction.md
Demo show:
And VAP can also merge custom attributes (such as user name, avatar) into the animation.
Dear Developers:
Thank you for your continued interest in and use of this repository. We hereby solemnly state that this repository has entered a maintenance-free state and will no longer be updated.
If you need to continue using the VAP animation playback feature and expect long-term stable, iterative technical support, we recommend switching to Tencent Cloud's official gift effects solution: Gift AR. This service is designed for high-performance animation playback scenarios and provides:
- Continuous Iteration: Long-term maintenance and feature updates.
- Multi-Device Compatibility: Full support for Android, iOS, and Flutter platforms.
- Enterprise-Grade Guarantee: High stability, security, and technical support.
The Tencent Cloud Gift AR version is designed to address the limitations of the under-maintained open source version, providing you (especially enterprise users) with more reliable production environment support and avoiding the potential risks of relying on outdated versions.
Thank you for your understanding. Please click here to learn more about the detailed capabilities and integration guide for gift animation effects.
| - | file size | decoder | effects support |
|---|---|---|---|
| Lottie | can't generate | software decoder | not support particle effects |
| GIF | 4.6M | software decoder | only support 8 bit color format |
| Apng | 10.6M | software decoder | all support |
| Webp | 9.2M | software decoder | all support |
| mp4 | 1.5M | hardware decoder | not support alpha channel |
| VAP | 1.5M | hardware decoder | all support |
More detail: Introduction.md
Generation tool:VapTool
If you have some problems with VAP, you can post issues. Developer will check often.
VAP is under the MIT license. See the LICENSE file for details.

