Commit Graph

424 Commits

Author SHA1 Message Date
Kavin
1d47af14ff
Fix build error. 2022-06-27 05:26:47 +01:00
Kavin
291a0373b7
Fixes for some null-related errors. 2022-06-26 15:15:03 +01:00
Kavin
1dbd1e375b
Fix default language detection.
Closes #1118
Closes #743
2022-06-26 02:53:36 +01:00
kskarthik
187804f9a1
Fix shorts Thumbnail scaling (#1153)
* 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>
2022-06-25 12:00:45 +01:00
Kavin
3941b1d86e
Use windicss classes. 2022-06-24 23:28:06 +01:00
Kavin
54117a3add
Make chapters match height of video player. 2022-06-24 22:53:45 +01:00
Sai Karthik
fb4a2129d4
revamped chapter layouts for desktop view
* desktop chapters layout
* fallback to mobile view on small screens
2022-06-24 22:43:53 +01:00
Kavin
a2b191c6b0
Merge pull request #1138 from kskarthik/master
New video chapters layout
2022-06-17 13:04:50 +01:00
Sai Karthik
b856239427
blue chapter time looks better on white/dark mode alike 2022-06-17 13:24:40 +05:30
Sai Karthik
3e15c11be8
show chapter above video title 2022-06-17 10:37:07 +05:30
Sai Karthik
32c3f6e4e4
feat: horizontal scrollable chapters as tiles 2022-06-17 10:36:05 +05:30
Kavin
073c0f4aed
Add support for Arabic and pt_BR. 2022-06-16 15:55:08 +01:00
Kavin
0843f9c332
Disable AV1 by default. 2022-06-06 05:55:01 +01:00
Kavin
6371973943
Add optional chaining for sponsor segments. 2022-06-06 03:41:13 +01:00
Kavin
43fa5d8db8
Update regex to include hyphens.
Closes #861
2022-06-06 03:29:47 +01:00
Kavin
07322080a2
Add support to view sponsors on seekbar.
Closes #2
2022-06-06 03:18:55 +01:00
Kavin
2c3088395d
Add support for Azerbaijani and Estonian. 2022-06-02 19:46:52 +01:00
Kavin
f149ac95bb
Fix error on rendering chapters. 2022-06-02 04:29:28 +01:00
lexi
039ce5f54a
Add id attribute to "Instances List" heading 2022-05-27 22:45:13 -05:00
Kavin
6d6bedeebc
Reset skipped sponsors on page activation. 2022-05-25 15:19:48 +01:00
Kavin
6bc482af9e
Fix player destroying activated function. 2022-05-23 21:18:37 +01:00
Kavin
de55a5a0c7
Fix for eslint errors. 2022-05-19 22:17:58 +01:00
Kavin
5c361a5abb
Merge pull request #1060 from laazyCmd/if-comments-disabled
show message if comments are disabled in a video
2022-05-16 13:19:27 +01:00
Kavin
d4b12e4101
Change subscriptions.json to csv.
Closes #1058
2022-05-16 10:42:08 +01:00
laazyCmd
279442a321 show message if comments are disabled in a video 2022-05-15 20:27:10 +08:00
Kavin
3dec3744f0
Choose best audio quality on streams >= 480p.
Closes #1026
2022-05-08 16:25:20 +01:00
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
FireMasterK
8f10ee5c72
Add support for sponsorblock's filler and highlight skipping. 2022-01-13 09:42:33 +00:00
dependabot[bot]
5d8ae14db7
Bump eslint-plugin-vue from 7.20.0 to 8.3.0 (#722)
* Bump eslint-plugin-vue from 7.20.0 to 8.3.0

Bumps [eslint-plugin-vue](https://github.com/vuejs/eslint-plugin-vue) from 7.20.0 to 8.3.0.
- [Release notes](https://github.com/vuejs/eslint-plugin-vue/releases)
- [Commits](https://github.com/vuejs/eslint-plugin-vue/compare/v7.20.0...v8.3.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-vue
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Refractor component names.

For vue/multi-word-component-names

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: FireMasterK <20838718+FireMasterK@users.noreply.github.com>
2022-01-13 05:12:06 +00:00
Kavin
fc4978ec03
Add support for displaying chapters (#694) 2022-01-13 04:52:14 +00:00
FireMasterK
63062bd767
Fix minimize recommandation overlap. 2022-01-12 22:17:22 +00:00
FireMasterK
3d188f2cc8
Remove all references to uikit. 2022-01-12 12:13:04 +00:00
FireMasterK
05d7853ef0
Convert inline style css to classes. 2022-01-12 11:59:50 +00:00
FireMasterK
fb3ac51cd8
Changes for Preferences menu and cleanup. 2022-01-12 11:27:08 +00:00
FireMasterK
a9e7d79121
Run yarn lint. 2022-01-12 05:42:48 +00:00
FireMasterK
9b1f7086f4
Fix timeago import and warning. 2022-01-12 05:39:36 +00:00
FireMasterK
983fdac95d
Populate search_query on mount.
Closes #703
2022-01-12 05:31:12 +00:00
FireMasterK
89ca5094a5
Add support for hour, minute and second time paterns.
Closes #706
2022-01-12 05:31:12 +00:00
Tomasz Rymkiewicz
c8639c2ce7
Make eslint work with vue files 2022-01-12 05:31:12 +00:00
Tomasz Rymkiewicz
5977e2c51a
Fix incorrect tag nesting 2022-01-12 05:31:12 +00:00
Tomasz Rymkiewicz
f576ca74d1
Componentize video sorting functionality 2022-01-12 05:31:12 +00:00
Tomasz Rymkiewicz
53197b5e2d
Autoclose HTML tags 2022-01-12 05:31:12 +00:00
Tomasz Rymkiewicz
d750eabc37
Favour v-text over mustache syntax 2022-01-12 05:31:12 +00:00
Tomasz Rymkiewicz
c4ea68f9d8
Replace b and i tags with semantic HTML 2022-01-12 05:31:12 +00:00
FireMasterK
4289a02e20
Fix xml-js pollyfills. 2022-01-12 05:31:12 +00:00
FireMasterK
4bfbb9aa2e
Migrate to Vite from webpack. 2022-01-12 05:31:12 +00:00
FireMasterK
77010ccac4
Improve theming, and make auto theme work with media query. 2022-01-12 05:31:12 +00:00
FireMasterK
13a1f352d8
Fix navbar and cleanup search suggestions. 2022-01-12 05:31:12 +00:00
FireMasterK
9b6e32683f
Remove whitepace for spacing, and reduce grid dom size. 2022-01-12 05:31:12 +00:00
FireMasterK
ea7669c863
Some general improvements. 2022-01-12 05:31:12 +00:00
FireMasterK
43e69ff284
Implement theming in a better manner. 2022-01-12 05:31:12 +00:00