[IMAGE: https://images.3speak.tv/images/1777121813356-98dbe7f1ab97f1f3.webp]
โถ๏ธ Watch on 3Speak
hSnaps App
GIF Animation Fix: Preserve Original Behavior
- fix(feed): preserve GIF animation by bypassing proxy resize.
- Identified issue:
- GIFs were becoming static due to
images.hive.blogproxy resizing. -
Proxy was stripping animation frames during transformation.
-
Solution implemented:
- Detect
.gifimages and skip resize processing in proxy. - Bypass proxy resizing logic for GIF files.
-
Ensure original animated GIFs are rendered correctly.
-
Applied fix globally via shared
proxyImageUrl: - Feed
- Lightbox
-
Markdown renderer
-
Trade-off:
- Slightly larger payload size accepted to maintain correct animation behavior.
Animated GIF Working Correctly in Feed
[IMAGE: https://files.peakd.com/file/peakd-hive/sagarkothari88/EoATR1vSjaPqCjbcfKZnzdY2QfTywpZTuw8xXqxxkA1wLmX7dfNYYXbeZsCKBV4gs1N.png]
Mobile Fix: Open YouTube Externally on iOS and Android
- fix(feed): open YouTube externally on iOS/Android.
- Identified issue:
- YouTube iframe embeds are unreliable inside Capacitor WebViews.
-
Failures caused by:
- Referrer checks
- Embed-domain restrictions
-
Solution implemented:
-
On native platforms:
- Bypass in-app iframe popup
- Open links using system browser via
openLink
-
Platform behaviour:
- iOS: Uses
SFSafariViewController - Android: Opens in Chrome or YouTube app
-
Web: Keeps existing iframe popup with fallback option
-
No additional native configuration changes required:
- Existing Capacitor media flags already correctly set.
Watch on Youtube - YouTube Opened in System Browser (iOS/Android)
[IMAGE: https://files.peakd.com/file/peakd-hive/sagarkothari88/23tmB3U878sJz4eiuTg8qKD4pE2yEqUqQSsC4H7MQYq2i9cTbK8yyvNHLdMyZN6Kb3viv.png]
Web YouTube Popup Behaviour
[IMAGE: https://files.peakd.com/file/peakd-hive/sagarkothari88/23xKtGFRJoYL6yD2UMej4EkdTHdXxbuRzppvBJpz9M25hxo2r5etJPpLRXYr71XeWZAav.png]
Powering the Hive Ecosystem
- Continuously improving Hive applications with a focus on stability, performance, and scalability
- Contributing to open-source development and building reusable solutions for the community
- Working towards a stronger, more accessible, and feature-rich Hive ecosystem
Final Note
- This post has been refined with the help of AI to improve readability and structure
- The original content and optimised version are both available for reference
Applications Built by Us
[IMAGE: https://images.ecency.com/70x0/https://hreplier.sagarkothari88.one/images/logo.png] [IMAGE: https://images.ecency.com/70x0/https://hpolls.sagarkothari88.one/logo.png] [IMAGE: https://images.ecency.com/70x0/https://hive-stats.sagarkothari88.one/images/stats_logo.png] hReplier hPolls hStats --- --- --- [IMAGE: https://images.ecency.com/70x0/https://hsnaps.sagarkothari88.one/logo.png] [IMAGE: https://images.ecency.com/70x0/https://hivefestfacts.sagarkothari88.one/logo-2.png] [IMAGE: https://images.ecency.com/70x0/https://images.hive.blog/u/sagarkothari88/avatar?id=test] hSnaps hFestFacts Know more about us --- --- ---Support and Contact
[IMAGE: https://images.ecency.com/70x0/https://cdn-icons-png.freepik.com/512/12449/12449996.png?uid=R157450845&ga=GA1.1.352572717.1773017077] [IMAGE: https://images.ecency.com/70x0/https://cdn-icons-png.freepik.com/512/9720/9720387.png?uid=R157450845&ga=GA1.1.352572717.1773017077] [IMAGE: https://images.ecency.com/70x0/https://cdn-icons-png.freepik.com/512/3670/3670157.png?uid=R157450845&ga=GA1.1.352572717.1773017077] Transparency Vote as Witness Support via Discordโถ๏ธ 3Speak