From 347deec6465a42f24154457fb05227418ee83385 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 3 Oct 2026 13:38:13 -0700 Subject: Videos: know what a clip costs before fetching it; vertical clips only MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - What a clip costs is learned up front: the post's imeta (size, dim, image) when it says, else one 64 KB ranged request — the total from Content-Range, whether ranges are served, whether the MP4's index (moov) comes before its data, and the picture size from the track header. Up to three at a time; remembered across sessions. It also replaces the player-based shape probe the feed ran on every clip. - Clips over 25 MB (8 MB on 2G/3G, 3 MB with data saver), above 1080p, index-last files over 8 MB from servers without ranges, or clips that couldn't be measured wait for a tap: a cover saying what they cost ("50 MB", "4K"). Settings → Nostr → Videos: Autoplay large videos. - The pager loads only the clip on screen in full; the next gets its opening if within budget; everything else holds nothing. Sizes are asked three slides ahead. - Feed clips fetch nothing until they're about to play (preload none), with the post's still as a poster. - Video grid tiles show a first frame only for small clips that start quickly; others show their cost. - Videos lists only clips known to stand taller than wide; one of unknown shape is measured and joins when it qualifies; choosing Videos with none known yet opens the pager on the first that turns up. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01ULQZS9MQa6iAsXnrJUD9Du --- src/locales/te.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/locales/te.json') diff --git a/src/locales/te.json b/src/locales/te.json index 2e7deff..2c7160b 100644 --- a/src/locales/te.json +++ b/src/locales/te.json @@ -242,5 +242,9 @@ "mediaImages": "చిత్రాలు", "mediaVideos": "వీడియోలు", "mediaNoImages": "ఈ ఫీడ్‌లో ఇంకా చిత్రాలు లేవు.", - "mediaNoVideos": "ఈ ఫీడ్‌లో ఇంకా వీడియోలు లేవు." + "mediaNoVideos": "ఈ ఫీడ్‌లో ఇంకా నిలువు వీడియోలు లేవు.", + "videoTapToPlay": "ప్లే చేయడానికి నొక్కండి", + "videoLargeTitle": "వీడియోలు", + "videoLargeToggle": "పెద్ద వీడియోలను ఆటో‌ప్లే చేయి", + "videoLargeHelp": "{mb} MB కంటే పెద్దవి లేదా 1080p పైబడిన వీడియోలు మీ డేటా ఆదా కోసం నొక్కే వరకు ఆగుతాయి. నెమ్మదైన లేదా డేటా సేవర్ కనెక్షన్‌లో పరిమితి తక్కువ." } -- cgit v1.2.3