104 Commits

Author SHA1 Message Date
openhands
b514465832 Apply formatting changes 2025-01-14 14:40:28 +00:00
openhands
4e8b0edaa5 Add playsinline attribute to video tag
This fixes #3734 by adding the playsinline attribute to the video tag in VideoPlayer.vue.
This attribute is required for iOS devices to play videos inline instead of going into fullscreen mode by default.
2025-01-13 20:59:17 +00:00
Bnyro
4f1c8e514c fix: crash when failed to load stream info 2025-01-07 13:01:09 +01:00
Bnyro
17414a3e58 refactor: simplify and fix audio language selection 2025-01-07 12:58:51 +01:00
bonswouar
b39574af62 fix: wrong selection of default audio language
it would always fallback to "en"
as the loop was over array keys not values
2025-01-07 12:35:59 +01:00
ac615223s5
733888b429
fix: video player error with default quality (#3750) 2024-08-27 14:11:05 +02:00
Bnyro
4d2c476236 fix: duplicated time indicator when scrubbing seek bar 2024-07-17 17:10:58 +02:00
Shiny Nematoda
f00b9cafcd feat: add option to favor hls over dash 2024-07-11 17:59:42 +00:00
ac615223s5
5963dba626
feat: chapters in progress bar, chapter keyboard shortcuts (#3664)
Co-authored-by: Bnyro <bnyro@tutanota.com>
2024-07-03 14:16:27 +02:00
Bnyro
a57448a411 feat: show volume after changing via shortcut 2024-06-15 13:57:23 +02:00
Bnyro
a22f6373b8 feat: show playback speed after changing via shortcut 2024-06-15 13:49:59 +02:00
Bnyro
bdcef70ef0
Merge pull request #3663 from ac615223s5/patch-1
make the time in the video player preview white in light mode
2024-06-15 13:19:47 +02:00
ac615223s5
1f352e063c fix: video preview timestamp is not readable in light theme 2024-06-15 13:17:55 +02:00
ac615223s5
4c360eed24
feat: keep the last 5 minutes of buffer (#3665) 2024-06-12 20:31:57 +02:00
Bnyro
cdb9d0188a feat: custom playback speed option 2024-05-16 18:24:43 +02:00
Kavin
fea9c266fe
Actually use the configured limit. 2023-12-15 21:30:13 +00:00
Kavin
144cf0be74
Increase retry baseDelay to 250ms. 2023-12-14 13:45:05 +00:00
Shiny Nematoda
5509be2a86 remove mux.js (see https://github.com/shaka-project/shaka-player/issues/5912#issuecomment-1819153525) 2023-11-26 07:33:53 +00:00
Kavin
32c234258b
Add an infinite retry config. 2023-11-23 23:49:34 +00:00
Kavin
dd83474126
Make the indexeddb call syncronous to fix race condition 2023-11-23 21:48:23 +00:00
Kavin
f1058b8005
Fix issues with initial start time.
Closes #3151
2023-11-23 19:08:52 +00:00
renovate[bot]
acb4cc0588
fix(deps): update dependency shaka-player to v4.6.0 (#3143)
* fix(deps): update dependency shaka-player to v4.6.0

* Migrate to attach api.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Kavin <20838718+FireMasterK@users.noreply.github.com>
2023-11-16 15:02:21 +00:00
Andry Yosua
859908cb1f
Don't show audio language option if language is undetermined (#2937)
* Don't show audio language option if language is undetermined

as a viewer
i want simple option
so i
  - don't need to see unnecessary option
  - have more simple option
by not showing audio language option if language is undetermined

fix https://github.com/TeamPiped/Piped/issues/1761

* looks simpler and more self-explaining
2023-09-14 08:53:48 +02:00
Andry Yosua
5b4fb38c85
Allow set subtitle language from url parameter (#2935)
* allow set subtitle language from url parameter

As user,
I want to set subtitles language from url parameters,
So i do not need to subtitle language each time i switch instances

for now you can set `subtitles=xx` (example: `subtitles=en`) on url
parameter to set video subtitle language.

full url example: https://piped.video/watch?v=6stlCkUDG_s&subtitles=en

i choose query `subtitles` so it's compatible with [invidious url
parameter](https://docs.invidious.io/url-parameters/)

this is especially useful when you have addons like redirector

improvement over https://github.com/TeamPiped/Piped/issues/2669 and
https://github.com/TeamPiped/Piped/issues/223

* cleaning code

* looks simpler and more self-explaining

fix suggested on
https://github.com/TeamPiped/Piped/pull/2937#discussion_r1325072807
2023-09-14 08:51:50 +02:00
Kavin
0b481d8c44
Add support for parallel segment fetching. 2023-08-31 10:21:57 +01:00
Shiny Nematoda
13d16f83b9
Be the programmer your linter thinks you are 2023-08-30 11:59:11 +02:00
Shiny Nematoda
3a5fe4780b display error in player 2023-08-29 17:07:30 +00:00
Kavin
a153f87e58
Add unocss eslint config and apply changes. 2023-08-13 18:31:57 +01:00
Kavin
fe22731192
Fix segment autoskip not being defined sometimes. 2023-08-07 20:00:02 +01:00
Kavin
981133ebd0
Fix navigate next keybind not working.
Closes #2784
2023-08-07 19:45:54 +01:00
amogusussy
3243cacfe6 Change player bar and SB segment colors to var()s 2023-07-30 18:48:56 +02:00
Kavin
301877e2e1
Fix eslint config and apply all fixes. 2023-07-27 12:46:05 +01:00
Bnyro
b594eeea6d Decrease bottom margin of seekbar timestamp 2023-06-28 08:52:03 +02:00
Bnyro
0705ef1342 Show timestamp when hovering seekbar 2023-06-27 20:27:43 +02:00
robertkleinschuster
66f3584895 correct parsing for timestamp-links in current video 2023-05-31 18:18:50 +02:00
JdM
4366e628b2
Update VideoPlayer.vue 2023-05-20 16:00:06 +02:00
JdM
717b31f3fd Auto display of subtitles if enabled 2023-05-20 15:36:12 +02:00
Kavin
75dcc0abf1
Make the canvas display: none by default. 2023-05-15 05:42:14 +01:00
Glen Lowland
25818ae89f Fix seekbar preview aspect ratio and cropping
This PR fixes two issue observed with the seekbar preview:
- sometimes images got cropped incorrectly at the end of the video due to image having less frames that server tells us - so calculate it in place;
- set canvas width and height based on actual frame data so it follows the video aspect ratio rather than hard-coded value.
2023-05-01 23:22:30 +01:00
Kavin
ec08bdc31d
Merge pull request #2218 from EscherMoore/add-pip-hotkey
Fix: Add a hotkey to toggle Picture-In-Picture
2023-04-29 19:51:32 +01:00
Kavin
096999a69e
Merge remote-tracking branch 'origin/master' into toast 2023-04-29 19:09:15 +01:00
Bnyro
ba36d4b0da Fix position and visibility issues of the seekbar preview 2023-04-22 11:32:06 +02:00
Kavin
974324fad7
Listen on the actual seekbar to calculate 2023-04-17 00:05:06 +01:00
Kavin
7ce0c0fcc0
Fix for calculating right position in seekbar preview 2023-04-17 00:00:32 +01:00
Bnyro
367bb0f0a0 Add a seekbar thumbnail preview 2023-03-26 17:56:50 +02:00
Kavin
defefed9ed
Merge remote-tracking branch 'origin/master' into toast 2023-03-17 04:13:04 +00:00
EscherMoore
4a3f5d69c7 add hotkey to toggle Picture-In-Picture 2023-03-16 11:58:02 -04:00
Bnyro
125dda2b63 Re-add frame by frame navigation 2023-03-16 16:35:23 +01:00
Bnyro
c4bf2fec6e
Merge pull request #2200 from snematoda/patch-2
Minor fix for SponsorBlock
2023-03-15 19:16:21 +01:00
Bnyro
c93e0e0c3c
Revert "Frame-by-frame navigation" 2023-03-15 19:07:27 +01:00