yattee/Shared
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
..
ar.lproj Conditional proxying 2024-05-16 19:35:31 +02:00
ars.lproj Translated using Weblate (Arabic (Najdi)) 2023-12-09 21:03:19 +01:00
Assets.xcassets New account selection menu 2023-02-05 14:24:09 +01:00
az.lproj Conditional proxying 2024-05-16 19:35:31 +02:00
ca.lproj Conditional proxying 2024-05-16 19:35:31 +02:00
Channels Swiftformat fixes 2024-05-16 19:01:02 +02:00
cs.lproj Conditional proxying 2024-05-16 19:35:31 +02:00
de.lproj Conditional proxying 2024-05-16 19:35:31 +02:00
Documents Revert "Drop iOS 14 and macOS 11 support" 2023-10-15 13:35:23 +02:00
en.lproj Conditional proxying 2024-05-16 19:35:31 +02:00
es.lproj Conditional proxying 2024-05-16 19:35:31 +02:00
fa.lproj Conditional proxying 2024-05-16 19:35:31 +02:00
fr.lproj Conditional proxying 2024-05-16 19:35:31 +02:00
Gestures Remove unused gesture 2022-10-27 18:03:57 +02:00
hi.lproj Conditional proxying 2024-05-16 19:35:31 +02:00
Home Swiftformat fixes 2024-05-16 19:01:02 +02:00
it.lproj Conditional proxying 2024-05-16 19:35:31 +02:00
ja.lproj Conditional proxying 2024-05-16 19:35:31 +02:00
Modifiers Fix player overlay opacity 2023-04-24 12:57:31 +02:00
Navigation Add setting to show/hide recents and limit number of recents shown 2024-02-28 00:56:12 +01:00
nb-NO.lproj Conditional proxying 2024-05-16 19:35:31 +02:00
nl.lproj Translated using Weblate (Dutch) 2024-04-01 22:58:48 +02:00
pl.lproj Conditional proxying 2024-05-16 19:35:31 +02:00
Player Conditional proxying 2024-05-16 19:35:31 +02:00
Playlists Swiftformat fixes 2024-05-16 19:01:02 +02:00
pt-BR.lproj Conditional proxying 2024-05-16 19:35:31 +02:00
pt.lproj Conditional proxying 2024-05-16 19:35:31 +02:00
ro.lproj Conditional proxying 2024-05-16 19:35:31 +02:00
ru.lproj Conditional proxying 2024-05-16 19:35:31 +02:00
Search Revert "Drop iOS 14 and macOS 11 support" 2023-10-15 13:35:23 +02:00
Settings Fix build issues 2024-05-16 19:05:00 +02:00
Subscriptions Add help text to all header buttons 2024-02-28 01:03:33 +01:00
sv.lproj Translated using Weblate (Swedish) 2023-02-26 18:55:38 +01:00
tr.lproj Conditional proxying 2024-05-16 19:35:31 +02:00
Trending Revert "Drop iOS 14 and macOS 11 support" 2023-10-15 13:35:23 +02:00
uk.lproj Conditional proxying 2024-05-16 19:35:31 +02:00
Videos Revert "Drop iOS 14 and macOS 11 support" 2023-10-15 13:35:23 +02:00
Views Fix build issues 2024-05-16 19:05:00 +02:00
zh-Hans.lproj Conditional proxying 2024-05-16 19:35:31 +02:00
zh-Hant.lproj Conditional proxying 2024-05-16 19:35:31 +02:00
Constants.swift Fix build issues 2024-05-16 19:05:00 +02:00
Debounce.swift Debouncing and form validation improvements 2021-09-26 22:12:43 +02:00
Defaults.swift Merge pull request #650 from stonerl/rework-qualitiy-settings 2024-05-16 18:22:58 +02:00
Delay.swift Style fix 2024-02-02 11:06:32 +01:00
EnvironmentValues.swift Home Settings 2023-05-25 18:36:03 +02:00
MenuCommands.swift Replace environment objects with observed objects 2022-12-05 10:13:19 +01:00
OpenURLHandler.swift Fix build issues 2024-05-16 19:05:00 +02:00
PreferenceKeys.swift New video details 2022-12-04 13:32:26 +01:00
SiestaConfiguration.swift Add Piped support 2021-10-17 23:01:43 +02:00
Strings.swift Fix build issues 2024-05-16 19:05:00 +02:00
Throttle.swift Add to playlist from video player, state fixes 2021-10-25 23:29:06 +02:00
URLParser.swift Swiftformat fixes 2024-05-16 19:01:02 +02:00
URLTester.swift Conditional proxying 2024-05-16 19:35:31 +02:00
Yattee.entitlements Opening videos by URL and local files 2022-12-04 13:32:22 +01:00
YatteeApp.swift Merge pull request #650 from stonerl/rework-qualitiy-settings 2024-05-16 18:22:58 +02:00