Add GIF-to-MP4 playback support (v1.5.2)

Features:
- Detect GIF URLs automatically
- Request conversion from alfred-proxy /api/convert-gif endpoint
- Display loading indicator during conversion
- Play MP4 in looping VideoView component
- Auto-start playback on load
- Error handling with user-friendly messages

Technical details:
- Uses AndroidView wrapper for VideoView in Compose
- Coroutines for async conversion request
- Gateway URL from SharedPreferences
- Falls back to static image for non-GIF images

Tested successfully with Tenor GIFs - smooth playback confirmed!
This commit is contained in:
2026-02-11 08:44:09 -08:00
parent eb15e29c8b
commit 25455f7e6f
2 changed files with 149 additions and 26 deletions

View File

@@ -17,8 +17,8 @@ android {
applicationId = "com.openclaw.alfred"
minSdk = 26
targetSdk = 34
versionCode = 41
versionName = "1.5.0"
versionCode = 43
versionName = "1.5.2"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {