Commit graph

88 commits

Author SHA1 Message Date
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
Shiny Nematoda
ba40800a5e Minor fix for SponsorBlock 2023-03-15 03:38:16 +05:30
Bnyro
8edfa48f23
Merge pull request #2199 from vr10t/frame-by-frame
Frame-by-frame navigation
2023-03-14 19:27:40 +01:00
vr10t
656d41d43d frame-by-frame navigation 2023-03-14 17:33:11 +00:00
EscherMoore
84d2314a38 keep picture in picture open when switching videos 2023-03-12 23:20:14 -04:00
Shiny Nematoda
67c55426b9 replaced filter with some/findLast 2023-03-04 08:03:45 +00:00
Kavin
690031c010
Remove LBRY integration for now. 2023-03-04 04:42:03 +00:00
vr10t
2134e82efe add countdown until next video 2023-03-02 21:55:23 +00:00
Kavin
acff16a8d4
Simplify export and filter manifests from dash generation. 2023-03-02 14:18:53 +00:00
novenary
79fce71b77 Fix skip button color when using light theme 2023-02-08 09:17:18 +02:00
novenary
45a1e4981e Move skip button out of the control bar 2023-02-02 17:06:13 +02:00
novenary
7b832a981c Use getPreference* instead of accessing localStorage directly 2023-02-02 15:25:45 +02:00
novenary
e1b355e92a Add an option to skip sponsorblock segments manually
Fixes #894
2023-02-01 23:31:22 +02:00
Bnyro
fdb2f6b9a0 Remember the fullscreen state on autoplay 2023-01-27 18:13:20 +01:00
Kavin
027dabf9b4
Eager import shaka-player css. 2023-01-25 23:44:07 +00:00
Kavin
869489b8da
Fire a player init event on initialization. (#2008) 2023-01-21 22:50:56 +00:00
Kavin
ece47821fb
Ensure watch history preference actually works. 2023-01-13 13:40:12 +00:00