lbry-desktop/ui/page
infinite-persistence df2a717e8d Change poster-fetch implementation
## Ticket
1526: strange thumbnail size requested on mobile layout (pc only?)

## General Problem
It was trying to fetch based on the exact size of the video container, which would satisfy Core Vitals (in an overkill way), but would bring several issues:
- server-side caching would not work since everyone's window size is different in a responsive layout design.
- the additional 200ms wait for container size to settle down is not good (hardcoded wait time).
- the code did not account for device-pixel-ratio, so it's quite a futile effort.

Aside:  In the past, we used to take the same image url as the tiles, so the video poster would appear immediately from due to browser cache, but the quality is bad because the tile requested a much smaller size.

The embed wrapper was not going through the CDN either as a null `containerRef` was passed in.

## Change
Removed the container-size check and just request for 1280x720. Reasons for this size:
- On average, that would be the ballpark of the final calculated value anyway for the average screen (+DPR consideration).
- That seems to be the current suggested thumbnail size in most recommendations.
- Our YT Sync is grabbing a much smaller size anyway.
2022-06-16 15:18:15 -04:00
..
backup add wallet sync message on wallet page 2020-02-21 13:42:17 -05:00
buy Fix incorrect usages of I18nMessage 2022-02-18 20:00:36 +08:00
channel Change premium badge position on channel page (#1677) 2022-06-13 12:53:58 +02:00
channelNew Limit channel-creation count from the UI (#886) 2022-02-16 09:14:08 -05:00
channels Another padding adjustment on mobile 2022-06-10 08:45:42 +02:00
channelsFollowing Following Page: fix redundant livestream data passed in 2022-03-21 15:03:47 +08:00
channelsFollowingDiscover MAKE ODYSEE EVEN MORE BEAUTIFUL (#539) 2022-02-11 13:50:55 -05:00
channelsFollowingManage bump eslint version (#1640) 2022-06-06 12:19:35 -04:00
checkoutPage Revert "move stuff to web (#6537)" 2021-07-19 10:12:57 -04:00
collection Add requested review changes 2022-05-05 09:42:24 -04:00
creatorDashboard Add channel selector on HeaderMenuButton 2022-05-05 11:24:22 -04:00
discover bump eslint version (#1640) 2022-06-06 12:19:35 -04:00
embedWrapper Change poster-fetch implementation 2022-06-16 15:18:15 -04:00
file Remove clearPosition functions for playlists (#1560) 2022-05-24 06:07:46 -04:00
fileListDownloaded Re-enable 'Purchases' page 2022-04-07 14:28:12 -04:00
fileListPublished Fix uploads page cleared/reloaded on each navigation 2022-05-25 09:10:24 -04:00
fourOhFour Don't connect to the Redux store when not needed. 2021-10-24 13:04:01 +08:00
help Help hints + channel removal 2022-06-06 16:53:36 -04:00
home Revert "Fix ads near recommended on Premium" 2022-05-30 14:15:27 +08:00
invite Defer user/invite_status from startup 2022-01-21 09:19:17 -05:00
invited Fix url selectors 2021-11-17 19:57:04 +08:00
library Re-enable 'Purchases' page 2022-04-07 14:28:12 -04:00
listBlocked Better non-clickable implementation 2022-04-05 19:44:09 -07:00
lists MAKE ODYSEE EVEN MORE BEAUTIFUL (#539) 2022-02-11 13:50:55 -05:00
livestream Bugfix live status state (#1689) 2022-06-14 09:33:56 -04:00
livestreamCurrent Add 'ENABLE_WIP_FEATURES' for live page. 2021-08-12 21:52:58 -07:00
livestreamSetup livestream new api 2022-04-20 15:53:28 -04:00
navigationHistory refactor lbrytv web server 2019-11-11 13:27:29 -05:00
notifications Notifications: use fetched urls instead of resolving (#820) 2022-02-07 15:59:20 -05:00
odyseeMembership Clean up @odysee membership channel definition 2022-05-23 10:53:24 +08:00
ownComments Fix missing uri param for fetchReplies 2022-04-27 08:50:23 -04:00
passwordReset new layout 🕺 2020-09-29 17:12:32 -04:00
passwordSet new layout 🕺 2020-09-29 17:12:32 -04:00
passwordUpdate Move 'update password' into a subpage 2021-08-23 23:45:31 +08:00
playlists improve playlists display (#232) 2021-11-05 21:00:27 -04:00
popoutChatWrapper [Live Chat] Break down componets for Page Layout + Add ability to Pop Out chat window + Hide chat option (#681) 2022-01-14 15:24:16 -05:00
publish Publish revamp (Part 1) (#1593) 2022-06-03 09:28:12 -04:00
receive Don't connect to the Redux store when not needed. 2021-10-24 13:04:01 +08:00
report [Report Page] Fix GitHub URL and improve strings (#340) 2021-11-22 09:32:33 -05:00
reportContent Don't connect to the Redux store when not needed. 2021-10-24 13:04:01 +08:00
repost Allow direct linking a repost create component 2022-05-03 09:36:25 -04:00
rewards FAQ stuff (#109) 2021-10-21 16:21:51 -04:00
rewardsVerify rewards redirect fix for manually approved users 2020-07-03 13:18:28 -04:00
search Remove Premium+ Tiles when Premium+ is active (#1525) 2022-05-18 20:51:15 +02:00
send Don't connect to the Redux store when not needed. 2021-10-24 13:04:01 +08:00
settings Render whole app on language change 2022-02-26 13:08:17 -05:00
settingsCreator Add "min channel age" setting 2022-02-23 23:01:57 +08:00
settingsNotifications Browser push notifications (#133) 2021-10-27 10:38:10 -04:00
settingsStripeAccount Design patch 2022-04-25 (#1392) 2022-04-25 10:10:45 +02:00
settingsStripeCard Allow capture of name during adding of card (#1657) 2022-06-14 09:21:47 -04:00
show Don't block entire router while fetching Categories 2022-06-02 14:11:52 +08:00
signIn MAKE ODYSEE EVEN MORE BEAUTIFUL (#539) 2022-02-11 13:50:55 -05:00
signInVerify bump eslint version (#1640) 2022-06-06 12:19:35 -04:00
signInWalletPassword get sync password out of signing flow 2020-09-21 14:11:25 -04:00
signUp MAKE ODYSEE EVEN MORE BEAUTIFUL (#539) 2022-02-11 13:50:55 -05:00
swap Don't connect to the Redux store when not needed. 2021-10-24 13:04:01 +08:00
tagsFollowing Clean homepage and export copy/paste issues, (no functional change) 2022-04-08 18:56:17 +08:00
tagsFollowingManage per channel notification settings 2020-11-02 14:13:13 -05:00
top removed remaining refs to PAGES.REPOST 2022-04-12 21:07:40 +08:00
wallet Fix missing txoList when balance is 0 2022-05-05 17:15:36 +08:00
watchHistory Batch-resolve Watch History 2022-05-16 07:57:24 -04:00
youtubeSync Fix YT sync requirement 2022-06-15 10:56:16 -04:00