Commit Graph

348 Commits

Author SHA1 Message Date
Kavin
4dda06402d Fix for LBRY without hls. 2022-05-05 19:02:33 +01:00
Kavin
4d32912ade Remove removed shaka configuration option. 2022-05-05 18:10:03 +01:00
Kavin
6893160cec Fix HLS manifest fetching the entire video on LBRY. 2022-05-04 10:19:13 +01:00
SecularSteve
f471fdf248 Added automatic height class for the "Enabled Codecs" rows on the Preferences Page. (#965)
* 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>
2022-04-09 18:50:22 +01:00
Kavin
77742dbb6e Add keybinds for adding playlist.
Closes #963
2022-04-09 08:45:25 +01:00
Kavin
0d84ee3ac3 Add support for Bosnian and Dutch. 2022-04-09 01:08:54 +01:00
Kavin
b1efd97c40 Remove debug code. 2022-04-08 22:40:37 +01:00
Kavin
d47d16e235 Implement play with playlists. 2022-04-08 22:37:05 +01:00
Kavin
4c16beedaf Change import paths to relative paths. 2022-04-08 16:46:49 +01:00
Kavin
b68b9e2c1e Check if playlist has name when creating a new playlist. 2022-04-07 19:19:40 +01:00
Kavin
6a05acf939 Add button to add to playlist when watching. 2022-04-07 16:48:03 +01:00
Kavin
54e947fda7 Select last selected playlist by default.
For #957
2022-04-07 16:36:51 +01:00
Kavin
4d18bf8004 Add support for playlists. 2022-04-07 03:42:00 +01:00
Kavin
fd88af8824 Add support for Vietnamese. 2022-04-07 03:34:48 +01:00
Kavin
8dbab22744 Add support for showing subscriber count. (#819) 2022-03-30 17:34:47 +01:00
Kavin
49f48872f9 Add support for Danish. 2022-03-20 18:36:05 +00:00
Kavin
8713a7eaa9 Add support for start parameter and improve regex.
Closes #885
2022-03-16 18:04:01 +00:00
Kavin
0a92992084 Add pt_PT to the language selector. 2022-03-14 15:02:47 +00:00
AHOHNMYC
f27ee020bd Uppercase some first letters in language selector (#893) 2022-03-14 14:58:05 +00:00
Nitish Yadav
c1405b63fa Restrict the home link to only logo width (#895)
Fixes #746
2022-03-14 14:57:42 +00:00
Tom
ec1ec958c6 Make URLs in video description links (#863)
* 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>
2022-03-01 09:56:27 +00:00
FireMasterK
5061a4ac0a Directly redirect to URLs from the search page.
Closes #861
2022-02-25 11:40:24 +00:00
Kavin
6b4bd1a034 Fetch instances using Instances API. (#854) 2022-02-23 12:38:21 +00:00
Kavin
f93f52051c Center videos, and limit video size in embeds. (#848) 2022-02-22 06:13:36 +00:00
FireMasterK
0acd0ab4c7 Add support for Catalan and Esperanto. 2022-02-15 10:57:37 +00:00
FireMasterK
ecd5d54aa2 Do not define non-reactive data variables.
Closes #829
2022-02-14 06:56:03 +00:00
FireMasterK
eea4965974 Replace substr to slice. 2022-02-13 19:36:32 +00:00
FireMasterK
55009d75c0 Add support for importing subscriptions from Freetube. 2022-02-13 19:11:44 +00:00
FireMasterK
483617bd33 Add better description for search filters. 2022-02-12 17:43:11 +00:00
FireMasterK
f75f7f87d2 Add a checkmark if channel is verified. 2022-02-11 04:23:26 +00:00
FireMasterK
5ca5854594 Add support for Clips.
Closes #815
2022-02-10 15:03:33 +00:00
FireMasterK
dc750ec0a3 Remove color workaround for subtitles.
Closes #448
2022-02-07 13:54:50 +00:00
FireMasterK
c0e1abba42 Use unix epoch for timeago if present. 2022-02-06 15:35:27 +00:00
FireMasterK
19a1bacd2f Remove css fix, and increase player buttons size.
Closes #757
Partly helps with #754
2022-01-31 04:34:27 +00:00
FireMasterK
07186f8787 Use regex to replace URLs.
Close #773
2022-01-31 04:05:59 +00:00
FireMasterK
826bdf4997 Fix for default home page. 2022-01-31 03:46:06 +00:00
FireMasterK
9b18f2eff2 Add live indicator for videos, pretranslate more components. 2022-01-30 23:48:27 +00:00
FireMasterK
dfed90c1cc Add max width to chapter. 2022-01-26 04:39:42 +00:00
FireMasterK
1d6a6daa06 Load hotkey-js only once and fix destroy. 2022-01-23 19:08:33 +00:00
FireMasterK
de8fb4fab5 Hide chapters component if there are no chapters.
Closes #756
2022-01-22 23:23:31 +00:00
FireMasterK
c87af466c8 Workaround for bug in shaka's programmatic setup. 2022-01-22 23:10:05 +00:00
FireMasterK
bcf15940b6 Player element css improvements. 2022-01-22 23:09:29 +00:00
Weblate (bot)
5397b4d183 Translations update from Hosted Weblate (#749)
* 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>
2022-01-19 20:51:31 +00:00
FireMasterK
8ba11d524d Add white text color to thumbnail overlay.
Closes #736
2022-01-17 12:55:48 +00:00
Kavin
2bb7288451 Implement better support for playback rate changes (#730)
* Implement better support for playback rate changes.

* Add isNaN check for duration.
2022-01-16 08:43:24 +00:00
Weblate (bot)
6948fb6269 Translations update from Hosted Weblate (#735)
* Added translation using Weblate (Hindi)

* Added translation using Weblate (Tamil)

* Translated using Weblate (Hindi)

Currently translated at 25.6% (20 of 78 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/hi/

* Translated using Weblate (Tamil)

Currently translated at 10.2% (8 of 78 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/ta/

* Translated using Weblate (Hindi)

Currently translated at 77.2% (61 of 79 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/hi/

* Translated using Weblate (Tamil)

Currently translated at 45.5% (36 of 79 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/ta/

* Translated using Weblate (Norwegian Bokmål)

Currently translated at 92.5% (75 of 81 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/nb_NO/

* Translated using Weblate (Turkish)

Currently translated at 100.0% (81 of 81 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/tr/

* Translated using Weblate (Spanish)

Currently translated at 100.0% (81 of 81 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/es/

* Translated using Weblate (Hindi)

Currently translated at 76.5% (62 of 81 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/hi/

* Translated using Weblate (Tamil)

Currently translated at 43.2% (35 of 81 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/ta/

* Translated using Weblate (Turkish)

Currently translated at 100.0% (81 of 81 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/tr/

* Translated using Weblate (Spanish)

Currently translated at 100.0% (81 of 81 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/es/

* Translated using Weblate (Swedish)

Currently translated at 100.0% (81 of 81 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/sv/

Co-authored-by: Kavin <kavin@kavin.rocks>
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Co-authored-by: Jorge Maldonado Ventura <jorgesumle@freakspot.net>
Co-authored-by: Shjosan <shjosan@kakmix.co>
2022-01-16 08:42:01 +00:00
FireMasterK
bf1fc5e84d Translation component improvements. 2022-01-14 02:54:27 +00:00
FireMasterK
72a0f0d376 Simplify if check. 2022-01-14 01:32:38 +00:00
FireMasterK
51eb01d7bd Show cursor pointer on comment actions. 2022-01-14 01:32:38 +00:00
Ian Shehadeh
90cf70cc31 wait to save video ts until saved video ts is loaded (#726)
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.
2022-01-13 22:41:53 +00:00