Commit Graph

134 Commits

Author SHA1 Message Date
Toni Förster
6eba2a45c8
Conditional proxying
I added a new feature. When instances are not proxied, Yattee first checks the URL to make sure it is not a restricted video. Usually, music videos and sports content can only be played back by the same IP address that requested the URL in the first place. That is why some videos do not play when the proxy is disabled.

This approach has multiple advantages. First and foremost, It reduced the load on Invidious/Piped instances, since users can now directly access the videos without going through the instance, which might be severely bandwidth limited. Secondly, users don't need to manually turn on the proxy when they want to watch IP address bound content, since Yattee automatically proxies such content.

Furthermore, adding the proxy option allows mitigating some severe playback issues with invidious instances. Invidious by default returns proxied URLs for videos, and due to some bug in the Invidious proxy, scrubbing or continuing playback at a random timestamp can lead to severe wait times for the users.

This should fix numerous playback issues: #666, #626, #590, #585, #498, #457, #400
2024-05-16 19:35:31 +02:00
Arkadiusz Fal
d9aa5105fa
Merge pull request #636 from stonerl/captions
fix handling and displaying captions
2024-05-16 18:18:49 +02:00
Toni Förster
a1bde07ee1
don't draw chapter mark if start is 0 2024-05-11 17:51:35 +02:00
Toni Förster
03fbb4933a
new SeekType chapterSkip
When a user taps on a chapter, the pop now also shows the name of the chapter. The chapters are now marked in AppRedColor instead of orange.

This is based on PR #639

That one needs to be merged first before this one can go in.
2024-05-03 15:20:51 +02:00
Toni Förster
ae65acdd16
Interface tweaks for SponsorBlock during playback
Show/Hide categories in timeline.
Show/Hide notice after skip.
Show adjusted or actual total time.
2024-04-23 22:08:08 +02:00
Toni Förster
b5ac760af2
SponsorBlock set colors for each category
Default colors are defined in alignment to upstream. These can be changed by the user.
The colors are also used in the Timeline and the seek view.
2024-04-23 17:16:31 +02:00
Toni Förster
f3637e2426
fix handling and displaying captions
fixes #490

It also fixes the caption picker being empty when a caption was selected in the previous watched video.
2024-04-21 01:04:31 +02:00
Arkadiusz Fal
94915b0496 Revert "Drop iOS 14 and macOS 11 support"
This reverts commit dcef7f47ff.
2023-10-15 13:35:23 +02:00
Arkadiusz Fal
4cabfb7733 Fix scrubbing area 2023-07-24 19:45:31 +02:00
Arkadiusz Fal
dcef7f47ff Drop iOS 14 and macOS 11 support 2023-07-24 19:45:30 +02:00
Arkadiusz Fal
e827b97cd5 Fix lint issues 2023-07-24 19:45:30 +02:00
Arkadiusz Fal
2583be9401 Fix music mode controls 2023-05-25 18:36:03 +02:00
Arkadiusz Fal
c6798be167 Show stream opening status with AVPlayer 2023-05-21 19:13:42 +02:00
Arkadiusz Fal
1cc66fdc10 Fix various issues 2023-05-21 19:13:42 +02:00
Arkadiusz Fal
f67b1d4feb Improve orientation and safe area handling
Fix #369
Fix #382
2023-05-21 19:13:42 +02:00
Arkadiusz Fal
b53b5eac56 Localization fix 2023-05-21 19:13:19 +02:00
Arkadiusz Fal
0051b3ab74 Minor change 2023-05-18 11:32:45 +02:00
Arkadiusz Fal
f45001da78 Codestyle fixes 2023-05-07 22:06:50 +02:00
Arkadiusz Fal
5c0cf7452c Remove unused code 2023-04-22 23:39:43 +02:00
Arkadiusz Fal
9936d9dd9e Fix details reload 2023-04-22 23:39:42 +02:00
Arkadiusz Fal
8f9fb7ba82 New actions buttons 2023-04-22 23:39:42 +02:00
Arkadiusz Fal
a7763c5802 Fix controls buttons settings 2023-04-22 23:10:28 +02:00
Arkadiusz Fal
28f346dee2 Remove Watch Next 2023-04-22 23:10:27 +02:00
Arkadiusz Fal
67690bc435 Video details changes and channel sheet 2023-04-22 23:10:27 +02:00
Arkadiusz Fal
8ef016d792 Minor performance improvement 2023-04-22 23:10:27 +02:00
Arkadiusz Fal
ff5893f8db Fix refreshing network state 2023-02-05 14:24:16 +01:00
Arkadiusz Fal
809bcd183a New playback settings sheet 2023-02-05 14:24:16 +01:00
Arkadiusz Fal
ce9c3fbd74 Fix gradient 2023-02-05 14:24:15 +01:00
Arkadiusz Fal
d80929bd88 Player controls settings 2023-02-05 14:24:15 +01:00
Arkadiusz Fal
8631389b8f Seek settings 2023-02-05 14:24:15 +01:00
Arkadiusz Fal
3de18da7a7 Controls gradient 2023-02-05 14:24:14 +01:00
Arkadiusz Fal
39fc23c5dc Watch Next behavior and settings 2023-02-05 14:24:14 +01:00
Arkadiusz Fal
ba1ec7c559 Player layout changes 2023-02-05 14:24:14 +01:00
Arkadiusz Fal
eca685ae29 Watch next view 2023-02-05 14:24:14 +01:00
Arkadiusz Fal
fcf527fa87 Player bar visibility modes and settings 2023-02-05 14:24:13 +01:00
Arkadiusz Fal
037d3a0481 Add channels thumbnails to cells and list 2023-02-05 14:24:11 +01:00
Arkadiusz Fal
909f035399 Minor controls changes 2022-12-05 10:13:19 +01:00
Arkadiusz Fal
53620c4d35 Fix default alignment swiftlint offense 2022-12-05 10:13:19 +01:00
Arkadiusz Fal
0d333b5583 Replace environment objects with observed objects 2022-12-05 10:13:19 +01:00
Arkadiusz Fal
414b6210c0 Fix toolbar tabs 2022-12-04 13:32:28 +01:00
Arkadiusz Fal
3b01fe34c3 Minor fixes 2022-12-04 13:32:28 +01:00
Arkadiusz Fal
09de2cbbab Add overlay model visibility methods 2022-12-04 13:32:27 +01:00
Arkadiusz Fal
4ee1383f3a New video details 2022-12-04 13:32:26 +01:00
Arkadiusz Fal
ebc9ea0031 Fix loading message 2022-12-04 13:32:25 +01:00
Arkadiusz Fal
80d8d66986 Local videos fixes 2022-12-04 13:32:24 +01:00
Arkadiusz Fal
4cb9e24796 Fix opening file stream label 2022-12-04 13:32:24 +01:00
Arkadiusz Fal
99e20f54a2 Attempt to fix orientation lock on iOS 16 2022-12-04 13:32:24 +01:00
Arkadiusz Fal
01d8e28d7c Add more playback rates for MPV 2022-12-04 13:32:23 +01:00
Arkadiusz Fal
4d94126abd Load images with low priority 2022-12-04 13:32:22 +01:00
Arkadiusz Fal
402d1a2f79 Opening videos by URL and local files 2022-12-04 13:32:22 +01:00