Commit graph

227 commits

Author SHA1 Message Date
vr10t
e0e195c7c8 remove unnecessary double if statement 2023-02-19 16:00:59 +00:00
vr10t
ed8bb4846a add category 2023-02-19 15:15:17 +00:00
vr10t
949527ed43 update watched videos in each separate component 2023-02-19 13:41:13 +00:00
Kavin
d3ef7e2b81
Fix npe when there are no segments in a video. 2023-02-10 08:56:50 +00:00
novenary
f03e323f90 Fix handling of unset preferences 2023-02-06 19:20:33 +02:00
novenary
7b832a981c Use getPreference* instead of accessing localStorage directly 2023-02-02 15:25:45 +02:00
novenary
d980edd843 Add an option to ignore short sponsorblock segments 2023-02-01 23:31:39 +02:00
novenary
e1b355e92a Add an option to skip sponsorblock segments manually
Fixes #894
2023-02-01 23:31:22 +02:00
Bnyro
5978848327 Properly rewrite channel descriptions 2023-01-30 19:42:57 +01:00
Tyrritt
4732c76dac Factor out handler func, remove Listener on unmount 2023-01-26 19:01:24 +01:00
Tyrritt
b8fdf3efeb Fix variable usage 2023-01-26 18:31:05 +01:00
Tyrritt
8311888501 Add only one listener on the window 2023-01-26 18:23:49 +01:00
Tyrritt
95a0e4cbc8 Make timestamps in comments seek instead of reload 2023-01-18 16:56:21 +01:00
Kavin
ece47821fb
Ensure watch history preference actually works. 2023-01-13 13:40:12 +00:00
Kavin
65118a440f
Merge pull request #1851 from gmnsii/playlist-integration-with-share
Add playlist integration for share button
2023-01-02 21:29:07 +00:00
Kavin
9de2323db0
Rewrite comments since they now include HTML 2022-12-07 23:31:41 +00:00
gmnsii
72f4f0d00c
Add 'share with playlist' option for share button
When the option is used (true by default) links generated by the share button will redirect to the same video in the same playlist.
Support for various locales still need to be added.
2022-12-04 15:19:24 -08:00
Kavin
adf5f7da64
Don't show alerts in some scenarios. 2022-11-16 18:51:56 +00:00
Kavin
6b9151e47f
Add better error messages for localStorage disabled. 2022-11-16 18:49:11 +00:00
thecashewtrader
1d0498f96e Add Minimize Chapters by default option 2022-11-09 22:35:11 +05:30
thecashewtrader
0a64950868 Fix Add to playlist button margin 2022-11-08 22:33:40 +05:30
thecashewtrader
b382b525b1
Move conditional rendering logic to WatchOnYouTubeButton 2022-11-06 00:44:48 +00:00
thecashewtrader
662eb32e3e
Extract Watch on YouTube button to a component 2022-11-06 00:44:48 +00:00
thecashewtrader
f0fdd84bae
Add Watch on YouTube button 2022-11-06 00:44:48 +00:00
Kavin
1ec8480351
Implement content item component. 2022-11-01 12:36:19 +00:00
Kavin
4dc73e76c1
Fix NPE when comments are minimized. 2022-10-24 10:49:13 +01:00
Alexandre Moreau
8d711f3aa9 Implement minimize comments in WatchVideo 2022-10-24 01:21:47 +02:00
Alexandre Moreau
ffc091131f Replace showComments by minimizeComments in preferences 2022-10-24 01:19:57 +02:00
talkor
d2b18ffbed fix: align like/dislike icons to center 2022-10-21 22:51:32 +03:00
talkor
5dcd061b2a fix: align buttons 2022-10-09 08:54:39 +03:00
Bnyro
70b5b71c4d fix chapters btn 2022-09-19 22:23:48 +02:00
Bnyro
a7f81c6337 add chapters toggle 2022-09-17 19:57:47 +02:00
Bnyro
e4446cd7e9 proxy channel feeds 2022-09-09 12:40:18 +02:00
Kavin
a6927f9bd9
Don't replace timestamp's text in description. 2022-09-01 20:50:06 +05:30
Kavin
44c66c3336
Fix share icon. 2022-08-29 18:49:14 +05:30
Bnyro
960e0ce15e
add share dialog 2022-08-29 18:36:49 +05:30
Kavin
471e81f556
Initial migration to UnoCSS. 2022-08-29 18:32:55 +05:30
Bnyro
527f564017
Revert "fix the autoplay preference"
This reverts commit 91611ac8a6.
2022-08-29 18:28:54 +05:30
Bnyro
91611ac8a6 fix the autoplay preference 2022-08-28 12:32:39 +02:00
Bnyro
a0109e910a fix unauthenticated subscribe status 2022-08-02 10:41:35 +02:00
Bnyro
c51a3a828e
unauthenticated subscriptions (#1270)
* hmm

* unauthenticated feed

* unauthenticated rss

* Small improvements to code.

* add unauthenticated subscriptions

* cleanup

* Sort subs locally.

* Fix some bugs and small improvements.

Co-authored-by: Kavin <20838718+FireMasterK@users.noreply.github.com>
2022-08-01 19:46:06 +05:30
Bnyro
c1a49cce18 fix mobile version of the player view 2022-07-22 19:14:24 +02:00
Kavin
37512b4e77
Allow the usage of a different instance for authentication. 2022-07-21 09:34:57 +05:30
Bnyro
3e9d647a30 fix comments text 2022-07-20 19:12:21 +02:00
macks36
29a0c0b1f4
add preference minimize recommendations by default 2022-07-20 20:19:21 +05:30
macks36
ca1a3d5b43
show minimize recommendations button on desktop 2022-07-20 20:19:21 +05:30
Kavin
25d82169b6
Use events and emits for finding currentTime. 2022-07-19 22:00:21 +05:30
Ikkibird
227567326e
fix: use a relative url with router-link
Fixes: #1194
2022-07-11 04:34:46 +00:00
Sai Karthik
1470b90895
refactor: align video info items responsively 2022-07-05 11:41:02 +05:30
Sai Karthik
2f908f7968
feat: add rss feed button for channels 2022-07-02 10:15:07 +05:30
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