Commit graph

227 commits

Author SHA1 Message Date
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
Sai Karthik
3e15c11be8
show chapter above video title 2022-06-17 10:37:07 +05:30
Kavin
43fa5d8db8
Update regex to include hyphens.
Closes #861
2022-06-06 03:29:47 +01:00
Kavin
de55a5a0c7
Fix for eslint errors. 2022-05-19 22:17:58 +01:00
laazyCmd
279442a321 show message if comments are disabled in a video 2022-05-15 20:27:10 +08: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
6a05acf939
Add button to add to playlist when watching. 2022-04-07 16:48:03 +01:00
Kavin
8dbab22744
Add support for showing subscriber count. (#819) 2022-03-30 17:34:47 +01:00
Kavin
8713a7eaa9
Add support for start parameter and improve regex.
Closes #885
2022-03-16 18:04:01 +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
Kavin
f93f52051c
Center videos, and limit video size in embeds. (#848) 2022-02-22 06:13:36 +00:00
FireMasterK
07186f8787
Use regex to replace URLs.
Close #773
2022-01-31 04:05:59 +00:00
FireMasterK
9b18f2eff2
Add live indicator for videos, pretranslate more components. 2022-01-30 23:48:27 +00:00
FireMasterK
de8fb4fab5
Hide chapters component if there are no chapters.
Closes #756
2022-01-22 23:23:31 +00:00
FireMasterK
bf1fc5e84d
Translation component improvements. 2022-01-14 02:54:27 +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
Tomasz Rymkiewicz
c8639c2ce7
Make eslint work with vue files 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
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
FireMasterK
d9283b2762
Fix navbar. 2022-01-12 05:31:12 +00:00
FireMasterK
d0c45650de
Fix layout above description.
Affects, uploaded date, views, likes, subscribe button, etc.
2022-01-12 05:31:12 +00:00
FireMasterK
defe4d6c91
Migrate more css classes. 2022-01-12 05:31:12 +00:00
FireMasterK
4899c9717c
Port more classes. 2022-01-12 05:31:12 +00:00
FireMasterK
871447050c
Attempt to migrate more classes. 2022-01-12 05:31:12 +00:00
FireMaskterK
74d2bec931
Fix like counter display, since YouTube hides dislikes. 2021-12-18 08:19:47 +00:00
FireMaskterK
215e12fafe
Add button to open embed video in new tab.
Closes #611
Closes https://github.com/TeamPiped/Piped-Redirects/issues/4
2021-11-11 08:16:15 +00:00
FireMaskterK
8ea56aa0b9
Implement comment replies. 2021-11-01 20:23:04 +00:00
FireMaskterK
e3df414cdb
Simplify uk-button css. 2021-10-31 18:36:47 +00:00
Kavin
1c03633c62
Remove all non-essential js related to uikit. (#585)
* Remove all non-essential js related to uikit.

* Add padding to the bottom of the grid.
2021-10-31 17:44:36 +00:00
FireMaskterK
ea827a48ac
Use entire screen space for WatchVideo.
Closes #577
2021-10-28 19:24:16 +01:00
FireMaskterK
993fb15397
Add support for storing and loading video watched times.
Closes #373
2021-10-27 01:15:53 +01:00
FireMaskterK
6ee9592218
Update pre-existing watch history.
Closes #567
2021-10-27 00:49:56 +01:00
FireMaskterK
d28945f5be
Handle videos with Ratings Disabled.
Closes #555
2021-10-23 22:20:26 +01:00
FireMaskterK
7baa3fbe34
Show a different icon when already listening.
Closes #544
2021-10-17 15:18:57 +01:00
Kavin
92d61a23af
Make eslint work, and fix all warnings. (#511)
* Make eslint work, and fix all warnings.

* Don't ignore v-html rule globally.

* Remove eslint file and merge in package.json.
2021-10-08 19:52:51 +01:00
FireMasterK
41ac97ed92
Add better upload date formatting. 2021-10-08 17:52:55 +01:00
Filipe Medeiros
cb48f3574d
feat: adds the option to toggle listen mode when watching a video (#508)
* feat: adds the option to toggle listen mode when watching a video

* feat: improve a11y

* Change some logic.

Co-authored-by: FireMaskterK <20838718+FireMasterK@users.noreply.github.com>
2021-10-07 23:43:48 +01:00
Danial Haddadi
eea4ed14dc
Add hide recommendations button on mobile (#494) 2021-10-04 01:08:25 +01:00
ChunkyProgrammer
40b74c7745
Accessibility Improvements (#467)
* accessibility improvements

* fix listen icon
2021-09-21 22:58:25 +01:00
FireMasterK
4a8927c794
Default to autoplay being disabled by default.
Closes #466
2021-09-21 22:48:55 +01:00
ChunkyProgrammer
0fd0bb8c83
Add labels to improve accessibility (#416)
* Add labels to improve accessibility

* switch to double quotes
2021-09-06 03:01:46 +05:30
FireMasterK
10d2df6d0d
Use unmounted instead. 2021-09-06 02:31:26 +05:30
FireMasterK
07dfa21956
Fix strange vuejs event cycle when keep-alive limit is hit. 2021-09-06 02:27:20 +05:30
ChunkyProgrammer
d350a026b2
Fix: Make more text translatable (#414)
* Make more text translatable

* update subscription page

* Update slovak locale
2021-09-05 18:38:26 +05:30
FireMasterK
efbf3f66b7
Render verified checkmark when watching video. 2021-09-05 03:20:14 +05:30
IceDBorn
a45b2b8380
Make avatar images circular (#400) 2021-09-01 17:06:00 +05:30
FireMasterK
412efc2ef1
Make minimum width 640px for desktop like view.
Closes #385
2021-08-30 20:17:31 +05:30
Kavin
4ae77badd8
Add i18n translations. (#381)
* Initial prototype.

* Add support for i18n in more places.
2021-08-25 22:00:21 +05:30
Kavin
8feb4fbc41
Add support for client-side watch history. (#370)
* Add support for client-side watch history.

* Update watched videos more often.
2021-08-22 15:57:09 +05:30
FireMasterK
c260091e3e
Add Watch on LBRY button. 2021-08-08 16:48:45 +05:30
FireMasterK
4ef653df31
Make embed show video in full-screen. 2021-08-04 10:43:31 +05:30
FireMasterK
96950e61e7
Add option to minimize description by default.
Closes #328
2021-07-30 14:33:16 +05:30
FireMasterK
2ca802e669
Change parameter name to match backend. 2021-07-30 00:56:56 +05:30
Emil Carlsson
960f5d414c
Fix overflowing title when watching video (#319)
* Fix overflowing titles

* Fix overflowing title when watching video
2021-07-27 17:15:29 +00:00
FireMasterK
24e58722c9
Handle title on component activation.
Closes #294
2021-07-21 16:29:53 +05:30
Emil Carlsson
1856f45c85
Fix comment formatting (#267) (#297) 2021-07-21 15:49:51 +05:30
FireMasterK
b9f401cd39
active check for when promise finishes.
Closes #290
2021-07-21 03:18:49 +05:30
FireMasterK
a3c07a905b
Add authenticated check for fetching subscribed status. 2021-07-21 02:13:03 +05:30
FireMasterK
76e9482f35
Add ability to disable showing comments. 2021-07-19 01:57:34 +05:30
Garrett Cox
e2cc6d4cf8
Give the video meta data section a bit of breathing room (#273)
* Give the video meta data section a bit of breathing room

* Apply linter.

Co-authored-by: FireMasterK <20838718+FireMasterK@users.noreply.github.com>
2021-07-18 23:17:39 +05:30
Garrett Cox
ffae17653a
Adjustments to WatchVideo.vue to be more responsive and more similar to Youtube's UI (#272) 2021-07-18 21:33:20 +05:30
FireMasterK
b0d9145e75
Add router caching. (#248)
* Add router caching.

* Avoid memory leak by limiting cache size.

* Fix search result caching.

* Remove remains of previous player.

Fixes an issue where the spinner/loading from a previous player can show up in a cached page.
2021-07-07 19:48:09 +05:30
FireMasterK
29b49de40c
Fix scrolling issue.
Looks like Vue Router's scrollBehavior is broken.
2021-07-05 00:59:19 +05:30
FireMasterK
6b0cb2352b
Add option to loop current video. 2021-07-05 00:12:10 +05:30
FireMasterK
7a77534098
Remove all direct localStorage calls.
Also: make instance changes active instantly without needing a reload.
2021-07-04 23:56:02 +05:30
FireMasterK
4a10d80804
Cleanup + Allow setting some parameters over query. 2021-07-04 00:54:09 +05:30
FireMasterK
c599d56db6
Add "Watch on YouTube" button. 2021-07-01 01:56:04 +05:30
FireMasterK
18752c7de7
Add light theme. (#219)
* Add light theme.

* Reload on theme change.
2021-06-29 01:15:03 +05:30
FireMasterK
cf6ce71339
Generalize related videos rendering. 2021-06-25 00:10:00 +05:30
FireMasterK
a058dbceac
Fix multi-line comments. 2021-06-15 17:21:01 +05:30
FireMasterK
546e47df9b
Handle parameters more gracefully with the mixin. (#198) 2021-06-15 17:07:35 +05:30
FireMasterK
5e791a51f5
Add support for /watch/, /embed/, /w/, /v/, /shorts/ 2021-06-07 23:08:19 +05:30
FireMasterK
acf81f386f
Fix severe vulnerability in case of a malicious Piped/YouTube server. 2021-06-07 00:42:03 +05:30
FireMasterK
20ddaab9e3
Add error handling for Videos, Channels, and Playlists. 2021-06-07 00:17:43 +05:30
FireMasterK
c594dc51b2
Format numbers with commas. 2021-06-03 00:22:58 +05:30
FireMasterK
366d81a546
Round off numbers. 2021-06-03 00:22:15 +05:30
FireMasterK
783246abcd
Render like count textually. 2021-05-31 03:36:35 +05:30
FireMasterK
051073117d
Better image scaling for mobile. 2021-05-28 01:42:36 +05:30
FireMasterK
ff32af1e96
Add verified, hearted, pinned, and likes to comments. 2021-05-27 00:32:12 +05:30
FireMasterK
526eefc18c
Fix height calculations. 2021-05-26 13:54:37 +05:30
FireMasterK
8536b4a9f3
Responsive widths + Continuations. 2021-05-26 13:40:22 +05:30
FireMasterK
53cf9b30fe
Add rendering of comments. (#169)
* Add rendering of comments.

* Finish comments implementation.
2021-05-26 01:16:21 +05:30
FireMasterK
a082b508eb
Fix NPE check
closes #131
2021-04-21 19:08:50 +05:30
Maurice Oegerli
8eed88f17f Format all code files using the new configuration 2021-04-07 13:48:04 +02:00
agent31750
149984d30e
swap like and dislike icon (#114)
so it represents the right number of likes/dislikes
2021-04-06 14:29:15 +00:00
FireMasterK
87e922e06d
Fix player destroying.
Regression from moving to a component.
2021-04-03 21:15:49 +05:30
FireMasterK
7910f90dbe
Move player to it's own component. (#108)
Fixes a Vue specific bug, as well as captions.
2021-04-01 20:43:35 +05:30
FireMasterK
cac8f1dafd
cleanup + add color to seekbar. 2021-03-16 13:20:11 +05:30
FireMasterK
25808760ed
Fix npe. 2021-03-04 20:10:03 +05:30
FireMasterK
9130a248de
Fix controls overlay. 2021-02-26 00:46:36 +05:30
FireMasterK
531804af94
Fix sponsorblock. 2021-02-25 21:15:26 +05:30
FireMasterK
a1ff5c53ce
Allow choosing skipping segments. 2021-02-25 20:48:59 +05:30
FireMasterK
058f0d4e8c
Add option to disable sponsorblock. 2021-02-25 20:10:40 +05:30
FireMasterK
3e0eea6ddb
Fix player destroyed incorrectly. 2021-02-25 19:36:19 +05:30
FireMasterK
dee927c527
Fix player reuse and sponsorblock. 2021-02-25 15:24:43 +05:30
FireMasterK
8ca20ffa3a
Add more buttons. 2021-02-25 12:40:32 +05:30
FireMasterK
e78b5bdec4
Add quality selector. 2021-02-25 12:38:47 +05:30
FireMasterK
b6c756847a
Fix some things broken when migrating. 2021-02-25 00:12:11 +05:30
FireMasterK
69e6118dc5
Commit everything. 2021-02-24 15:05:41 +05:30
FireMasterK
71f11ab031
fix npe 2021-01-20 21:30:18 +05:30
FireMasterK
8eec6b2d49
player: add videoonly check 2021-01-20 21:27:43 +05:30
FireMasterK
bf651da5e7
player: Add quality selector for livestreams. 2021-01-20 21:21:14 +05:30
FireMasterK
9c68e1bc40
cleanup. 2021-01-20 21:19:21 +05:30
FireMasterK
185523fd0f
player: add ability to hide description 2021-01-15 15:19:46 +05:30
FireMasterK
feaa888611
player: display newlines properly 2021-01-13 21:25:05 +05:30
FireMasterK
0799485c96
player: support for t query parameter 2021-01-07 13:58:31 +05:30
FireMasterK
43569748ae
videos: save last volume 2021-01-07 11:04:56 +05:30
FireMasterK
41f8081e09
A lot of changes. 2021-01-02 01:35:44 +05:30
FireMasterK
1fc311f070
tiny fixes/enhancements 2020-12-14 19:11:49 +05:30
FireMasterK
6b85183295
Fix audio on playback 2020-12-10 17:40:15 +05:30
FireMasterK
e2f0892269
Implement autoplay of videos. 2020-12-10 13:23:30 +05:30
FireMasterK
8e545dfb27
Use Mixins for global functions. 2020-11-27 12:16:36 +05:30
FireMasterK
63b496ae87 Move title below the video. 2020-11-22 10:01:14 +05:30
FireMasterK
c259245e76 Fix delay instead of increasing it. 2020-11-17 11:16:24 +05:30
FireMasterK
4891c57bbd Preferences + Format code. 2020-11-17 10:45:35 +05:30
FireMasterK
94aa8acb93
Reduce latency to < 100ms 2020-11-16 15:35:25 +05:30
FireMasterK
19a134b441
Add a hacky audio support. 2020-11-16 01:32:11 +05:30
FireMasterK
5c58a6bec5 Change import to require. 2020-11-13 17:35:02 +05:30
FireMasterK
98640e6d92 Add a channel page and fix some things. 2020-11-13 02:12:02 +05:30
FireMasterK
14a1d96c65
Initial commit.
A WIP front end.
2020-11-11 14:50:57 +05:30