* handle shorts videos in trending page
* shorts label for video items if video length <= a minute
* fix translation
* fix: shorts thumbnail scaling
* Use tailwind classes and properly do localization.
* Add class for short videos.
Co-authored-by: Kavin <20838718+FireMasterK@users.noreply.github.com>
* Added automatic height for the "Enabled Codecs" rows.
Now it's a lot easier to navigate.
* Fix linter warning.
Co-authored-by: Kavin <20838718+FireMasterK@users.noreply.github.com>
* urlify description
* changed to div
* Move urlify function away from rendering.
Co-authored-by: Tom Flux <tom@tomflux.xyz>
Co-authored-by: FireMasterK <20838718+FireMasterK@users.noreply.github.com>
* Translated using Weblate (Croatian)
Currently translated at 98.7% (80 of 81 strings)
Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/hr/
* Translated using Weblate (Chinese (Simplified))
Currently translated at 87.6% (71 of 81 strings)
Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/zh_Hans/
* Added translation using Weblate (Thai)
* Translated using Weblate (Thai)
Currently translated at 24.6% (20 of 81 strings)
Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/th/
* Add support for Thai.
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: Eric <alchemillatruth@purelymail.com>
Co-authored-by: Sabaijai Jang <krabipress@gmail.com>
Co-authored-by: FireMasterK <20838718+FireMasterK@users.noreply.github.com>
This commit introduces a new member to VideoPlayer, initialSeekComplete.
The boolean is set to true after the timestamp has been set on videoEl
from the query or IDB.
If there's no existing timestamp its set to true immediately.
Change updateProgressDatabase() to update watch_history when
initialSeekComplete is true.
This fixes a race condition where updateProgressDatabase() would run
before the saved time could be loaded.
Since the initial timestamp on the video element was 0
the saved time would be forgotten.
* Translated using Weblate (Malayalam)
Currently translated at 93.5% (73 of 78 strings)
Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/ml/
* Translated using Weblate (Bengali)
Currently translated at 97.4% (76 of 78 strings)
Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/bn/
* Added translation using Weblate (Swedish)
* Translated using Weblate (Swedish)
Currently translated at 100.0% (78 of 78 strings)
Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/sv/
* Add Swedish to language selector.
Co-authored-by: vachan-maker <vachan2014carmel@gmail.com>
Co-authored-by: ispeakbangla <nopetaci@altmails.com>
Co-authored-by: Shjosan <shjosan@kakmix.co>
Co-authored-by: FireMasterK <20838718+FireMasterK@users.noreply.github.com>
* Added translation using Weblate (Czech)
* Translated using Weblate (Czech)
Currently translated at 2.5% (2 of 78 strings)
Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/cs/
* Translated using Weblate (Czech)
Currently translated at 100.0% (78 of 78 strings)
Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/cs/
* Add Czech to language selector.
Co-authored-by: Tex <apptex@criptext.com>
Co-authored-by: FireMasterK <20838718+FireMasterK@users.noreply.github.com>
* Added translation using Weblate (Portuguese)
* Added translation using Weblate (Korean)
* Translated using Weblate (Portuguese)
Currently translated at 92.3% (72 of 78 strings)
Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/pt/
* Translated using Weblate (Korean)
Currently translated at 100.0% (78 of 78 strings)
Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/ko/
* Add Korean and Portuguese to language selector.
Co-authored-by: Joao Santos <jm_santos7@hotmail.com>
Co-authored-by: Kim Tae Kyeong <kim@taekyeong.me>
Co-authored-by: FireMaskterK <20838718+FireMasterK@users.noreply.github.com>
* Added translation using Weblate (Icelandic)
* Translated using Weblate (Icelandic)
Currently translated at 30.7% (24 of 78 strings)
Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/is/
* Translated using Weblate (Icelandic)
Currently translated at 100.0% (78 of 78 strings)
Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/is/
* Added translation using Weblate (Indonesian)
* Translated using Weblate (Indonesian)
Currently translated at 100.0% (78 of 78 strings)
Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/id/
* Add Icelandic and Indonesian to language selector.
Co-authored-by: Trendyne <eiko@chiru.no>
Co-authored-by: Linerly <linerly@protonmail.com>
Co-authored-by: FireMaskterK <20838718+FireMasterK@users.noreply.github.com>
* Added translation using Weblate (Ukrainian)
* Translated using Weblate (Ukrainian)
Currently translated at 100.0% (78 of 78 strings)
Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/uk/
* Add Ukranian to language selector.
Co-authored-by: Tim D. Vutor <xlson015@gmail.com>
Co-authored-by: FireMaskterK <20838718+FireMasterK@users.noreply.github.com>
* Translated using Weblate (Croatian)
Currently translated at 100.0% (78 of 78 strings)
Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/hr/
* Added translation using Weblate (Japanese)
* Translated using Weblate (Japanese)
Currently translated at 100.0% (78 of 78 strings)
Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/ja/
* Add Japanese to language selector.
Co-authored-by: rootedetc <rootable@protonmail.com>
Co-authored-by: からトン <inthemountain0828@gmail.com>
Co-authored-by: FireMaskterK <20838718+FireMasterK@users.noreply.github.com>