You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
⚠️ **Important**: JSON keys must match your weather scene constants exactly (`cloudy`, `overcast`, `light_rain`, `rain`, `snow`, `thunderstorm`) for the app to recognize them.
49
63
50
64
---
51
65
52
-
## ⚙️ How the app updates videos
66
+
## ⚙️ How the App Updates Videos
53
67
54
-
On app launch (when internet is available):
68
+
On app launch (with internet access):
55
69
56
70
1. App downloads remote `manifest.json`
57
71
2. Compares with local manifest
58
72
3. If a video's `version` differs → only that video is downloaded
59
73
4. Local cache updates automatically
60
74
5. New animation appears in Mawaqit 360
61
75
62
-
Only changed videos are fetched.
76
+
**Only changed videos are fetched.**
63
77
64
78
---
65
79
66
-
## 🚀 How to update a weather video
80
+
## 🚀 How to Update a Weather Video
67
81
68
-
### 1. Upload or replace video
82
+
### 1. Upload or Replace Video
69
83
70
84
Add or replace the `.mp4` file inside:
71
85
72
86
```
73
87
weather-videos/
74
88
```
75
89
76
-
File names can change.
77
-
Only the `url` and `version` in `manifest.json` matter.
78
-
79
-
---
80
-
81
-
### 2. Get file size (bytes)
90
+
File names can change. Only the `url` and `version` in `manifest.json` matter.
0 commit comments