bsky-app/assets/icons
Samuel Newman fff2c079c2
[Videos] Video player - PR #2 - better web support (#4732)
* attempt some sort of "usurping" system

* polling-based active video approach

* split into inner component again

* click to steal active video

* disable findAndActivateVideo on native

* new intersectionobserver approach - wip

* fix types

* disable perf optimisation to allow overflow

* make active player indicator subtler, clean up video utils

* partially fix double-playing

* start working on controls

* fullscreen API

* get buttons working somewhat

* rm source from where it shouldn't be

* use video elem as source of truth

* fix keyboard nav + mute state

* new icons, add fullscreen + time + fix play

* unmount when far offscreen + round 2dp

* listen globally to clicks rather than blur event

* move controls to new file

* reduce quality when not active

* add hover state to buttons

* stop propagation of videoplayer click

* move around autoplay effects

* increase background contrast

* add subtitles button

* add stopPropagation to root of video player

* clean up VideoWebControls

* fix chrome

* change quality based on focused state

* use autoLevelCapping instead of nextLevel

* get subtitle track from stream

* always use hlsjs

* rework hls into a ref

* render player earlier, allowing preload

* add error boundary

* clean up component structure and organisation

* rework fullscreen API

* disable fullscreen on iPhone

* don't play when ready on pause

* debounce buffering

* simplify giant list of event listeners

* update pref

* reduce prop drilling

* minimise rerenders in `ActiveViewContext`

* restore prop drilling

---------

Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
Co-authored-by: Hailey <me@haileyok.com>
2024-08-07 18:47:51 +01:00
..
alien_stroke2_corner0_rounded.svg Add icons for onboarding (#3571) 2024-04-16 09:08:11 -05:00
apple_stroke2_corner0_rounded.svg Add icons for onboarding (#3571) 2024-04-16 09:08:11 -05:00
arrowBottom_stroke2_corner0_rounded.svg Redo explore page (#4491) 2024-06-14 12:32:57 -05:00
arrowBoxLeft_stroke2_corner0_rounded.svg [Clipclops] Clop menu, leave clop, mute/unmute clop (#3804) 2024-05-02 00:15:10 +01:00
arrowLeft_stroke2_corner0_rounded.svg Add GIF select to composer (#3600) 2024-04-19 03:42:26 +01:00
arrowOutOfBox_stroke2_corner0_rounded.svg Always show post dropdown button at the bottom of the post, add share button to highlighted post (#2646) 2024-02-09 12:00:21 -08:00
arrowRight_stroke2_corner0_rounded.svg [D1X] Add interstitials, component tweaks, placeholders (#4697) 2024-07-03 03:34:18 +01:00
arrowRotateCounterClockwise_stroke2_corner0_rounded.svg New Onboarding (#2596) 2024-01-25 20:22:40 -08:00
arrowTopRight_stoke2_corner0_rounded.svg New component library based on ALF (#2459) 2024-01-18 20:28:04 -06:00
arrowTriangleBottom_stroke2_corner1_rounded.svg 3p moderation services [WIP] (#2550) 2024-03-18 12:46:28 -07:00
arrowsDiagonalIn_stroke2_corner0_rounded.svg [Videos] Video player - PR #2 - better web support (#4732) 2024-08-07 18:47:51 +01:00
arrowsDiagonalIn_stroke2_corner2_rounded.svg [Videos] Video player - PR #2 - better web support (#4732) 2024-08-07 18:47:51 +01:00
arrowsDiagonalOut_stroke2_corner0_rounded.svg [Videos] Video player - PR #2 - better web support (#4732) 2024-08-07 18:47:51 +01:00
arrowsDiagonalOut_stroke2_corner2_rounded.svg [Videos] Video player - PR #2 - better web support (#4732) 2024-08-07 18:47:51 +01:00
at_stroke2_corner0_rounded.svg New Onboarding (#2596) 2024-01-25 20:22:40 -08:00
atom_stroke2_corner0_rounded.svg Add icons for onboarding (#3571) 2024-04-16 09:08:11 -05:00
bars3_stroke2_corner0_rounded.svg 3p moderation services [WIP] (#2550) 2024-03-18 12:46:28 -07:00
bell2_filled_corner0_rounded.svg [🐴] Change up icons (#3938) 2024-05-10 10:42:45 -05:00
bell2_stroke2_corner0_rounded.svg [🐴] Change up icons (#3938) 2024-05-10 10:42:45 -05:00
bellOff_filled_corner0_rounded.svg [🐴] Chat muted state (#3988) 2024-05-14 17:41:20 +01:00
bellOff_stroke2_corner0_rounded.svg [🐴] Chat muted state (#3988) 2024-05-14 17:41:20 +01:00
bell_filled_corner0_rounded.svg [🐴] Change up icons (#3938) 2024-05-10 10:42:45 -05:00
bell_stroke2_corner0_rounded.svg [🐴] Change up icons (#3938) 2024-05-10 10:42:45 -05:00
bubbleQuestion_stroke2_corner0_rounded.svg Refactor `PostDropdownBtn` to use new `Menu` (#3112) 2024-03-08 14:45:59 -06:00
bubble_filled_stroke2_corner2_rounded.svg [Embeds] Embed subdomain landing page (#3501) 2024-04-13 03:58:40 +01:00
bubble_stroke2_corner2_rounded.svg [Embeds] Embed for single post (#3450) 2024-04-13 02:07:39 +01:00
bubble_stroke2_corner3_rounded.svg [🐴] Mark as read in convo menu (#3913) 2024-05-08 15:48:05 +01:00
bulletList_filled_corner0_rounded.svg [🐴] Change up icons (#3938) 2024-05-10 10:42:45 -05:00
bulletList_stroke2_corner0_rounded.svg [🐴] Change up icons (#3938) 2024-05-10 10:42:45 -05:00
calendarDays_stroke2_corner0_rounded.svg New component library based on ALF (#2459) 2024-01-18 20:28:04 -06:00
calendar_stroke2_corner0_rounded.svg Use ALF for signup flow, improve a11y of signup (#3151) 2024-03-19 12:47:46 -07:00
camera_filled_stroke2_corner0_rounded.svg Convert profile edit avatar/banner dropdown menus to new menu (#3177) 2024-03-12 10:17:27 -07:00
camera_stroke2_corner0_rounded.svg Convert profile edit avatar/banner dropdown menus to new menu (#3177) 2024-03-12 10:17:27 -07:00
cc_filled_stroke2_corner0_rounded.svg [Videos] Video player - PR #2 - better web support (#4732) 2024-08-07 18:47:51 +01:00
cc_stroke2_corner0_rounded.svg [Videos] Video player - PR #2 - better web support (#4732) 2024-08-07 18:47:51 +01:00
celebrate_stroke2_corner0_rounded.svg Add icons for onboarding (#3571) 2024-04-16 09:08:11 -05:00
checkThick_stroke2_corner0_rounded.svg Add tags and mute words (#2968) 2024-02-26 20:33:48 -08:00
check_stroke2_corner0_rounded.svg New Onboarding (#2596) 2024-01-25 20:22:40 -08:00
chevronBottom_stroke2_corner0_rounded.svg 3p moderation services [WIP] (#2550) 2024-03-18 12:46:28 -07:00
chevronLeft_stroke2_corner0_rounded.svg New Onboarding (#2596) 2024-01-25 20:22:40 -08:00
chevronRight_stroke2_corner0_rounded.svg New Onboarding (#2596) 2024-01-25 20:22:40 -08:00
chevronTop_stroke2_corner0_rounded.svg 3p moderation services [WIP] (#2550) 2024-03-18 12:46:28 -07:00
circleBanSign_stroke2_corner0_rounded.svg 3p moderation services [WIP] (#2550) 2024-03-18 12:46:28 -07:00
circleInfo_stroke2_corner0_rounded.svg New Onboarding (#2596) 2024-01-25 20:22:40 -08:00
clipboard_stroke2_corner2_rounded.svg Add tags and mute words (#2968) 2024-02-26 20:33:48 -08:00
closeQuote_filled_stroke2_corner0_rounded.svg Use ALF for post controls (#3400) 2024-05-30 01:25:11 +01:00
closeQuote_stroke2_corner0_rounded.svg Use ALF for post controls (#3400) 2024-05-30 01:25:11 +01:00
closeQuote_stroke2_corner1_rounded.svg Use ALF for post controls (#3400) 2024-05-30 01:25:11 +01:00
codeBrackets_stroke2_corner0_rounded.svg [Embeds] "Embed post" post dropdown option (#3513) 2024-04-13 05:13:53 +01:00
coffee_stroke2_corner0_rounded.svg Add icons for onboarding (#3571) 2024-04-16 09:08:11 -05:00
colorPalette_stroke2_corner0_rounded.svg New component library based on ALF (#2459) 2024-01-18 20:28:04 -06:00
dotGrid1x3Horizontal_stroke2_corner2_rounded.svg Combine actions, convert to new menu (#3174) 2024-03-12 13:50:53 -05:00
earth_stroke2_corner0_rounded.svg Switch to a more visually obvious button for the threadgate (#4139) 2024-05-20 19:51:34 -07:00
editBig_stroke2_corner0_rounded.svg [🐴] Change up icons (#3938) 2024-05-10 10:42:45 -05:00
emojiArc_stroke2_corner0_rounded.svg Add icons for onboarding (#3571) 2024-04-16 09:08:11 -05:00
emojiHeartEyes_stroke2_corner0_rounded.svg Add icons for onboarding (#3571) 2024-04-16 09:08:11 -05:00
emojiSad_stroke2_corner0_rounded.svg New Onboarding (#2596) 2024-01-25 20:22:40 -08:00
emojiSmile_stroke2_corner0_rounded.svg Implement FeedFeedback API (#3498) 2024-05-07 03:08:33 +01:00
envelope_filled_stroke2_corner0_rounded.svg [Clipclops] New routes with placeholder screens (#3725) 2024-04-27 05:54:18 +01:00
envelope_stroke2_corner0_rounded.svg Use ALF for signup flow, improve a11y of signup (#3151) 2024-03-19 12:47:46 -07:00
explosion_stroke2_corner0_rounded.svg Add icons for onboarding (#3571) 2024-04-16 09:08:11 -05:00
eyeSlash_stroke2_corner0_rounded.svg New Onboarding (#2596) 2024-01-25 20:22:40 -08:00
filterTimeline_stroke2_corner0_rounded.svg New Onboarding (#2596) 2024-01-25 20:22:40 -08:00
filter_stroke2_corner0_rounded.svg Refactor `PostDropdownBtn` to use new `Menu` (#3112) 2024-03-08 14:45:59 -06:00
flag_stroke2_corner0_rounded.svg Use new menu for Profile (#3168) 2024-03-12 14:06:12 -07:00
gameController_stroke2_corner0_rounded.svg Add icons for onboarding (#3571) 2024-04-16 09:08:11 -05:00
gifSquare_stroke2_corner0_rounded.svg Add GIF select to composer (#3600) 2024-04-19 03:42:26 +01:00
gif_stroke2_corner0_rounded.svg Add GIF select to composer (#3600) 2024-04-19 03:42:26 +01:00
globe_stroke2_corner0_rounded.svg New component library based on ALF (#2459) 2024-01-18 20:28:04 -06:00
group3_stroke2_corner0_rounded.svg 3p moderation services [WIP] (#2550) 2024-03-18 12:46:28 -07:00
growth_stroke2_corner0_rounded.svg New Onboarding (#2596) 2024-01-25 20:22:40 -08:00
hashtag_filled_corner0_rounded.svg [🐴] Change up icons (#3938) 2024-05-10 10:42:45 -05:00
hashtag_stroke2_corner0_rounded.svg New Onboarding (#2596) 2024-01-25 20:22:40 -08:00
heart2_filled_stroke2_corner0_rounded.svg 3p moderation services [WIP] (#2550) 2024-03-18 12:46:28 -07:00
heart2_stroke2_corner0_rounded.svg 3p moderation services [WIP] (#2550) 2024-03-18 12:46:28 -07:00
homeOpen_filled_corner0_rounded.svg [🐴] Change up icons (#3938) 2024-05-10 10:42:45 -05:00
homeOpen_stroke2_corner0_rounded.svg [🐴] Change up icons (#3938) 2024-05-10 10:42:45 -05:00
image_stroke2_corner0_rounded.svg Composer - add animated bottom border (#4325) 2024-06-04 00:49:50 +01:00
lab_stroke2_corner0_rounded.svg Add icons for onboarding (#3571) 2024-04-16 09:08:11 -05:00
leaf_stroke2_corner0_rounded.svg Add icons for onboarding (#3571) 2024-04-16 09:08:11 -05:00
listMagnifyingGlass_stroke2_corner0_rounded.svg New Onboarding (#2596) 2024-01-25 20:22:40 -08:00
listPlus_stroke2_corner0_rounded.svg Move feeds screen into common navigator, handle usages (#4365) 2024-06-11 11:08:06 -07:00
listSparkle_stroke2_corner0_rounded.svg New Onboarding (#2596) 2024-01-25 20:22:40 -08:00
loader_stroke2_corner0_rounded.svg New Onboarding (#2596) 2024-01-25 20:22:40 -08:00
lock_stroke2_corner0_rounded.svg Use ALF for signup flow, improve a11y of signup (#3151) 2024-03-19 12:47:46 -07:00
magnifyingGlass2_stroke2_corner0_rounded.svg Add tags and mute words (#2968) 2024-02-26 20:33:48 -08:00
magnifyingGlass_filled_corner0_rounded.svg [🐴] Change up icons (#3938) 2024-05-10 10:42:45 -05:00
menu_stroke2_corner0_rounded.svg Move feeds screen into common navigator, handle usages (#4365) 2024-06-11 11:08:06 -07:00
message_stroke2_corner0_rounded.svg [🐴] Change up icons (#3938) 2024-05-10 10:42:45 -05:00
message_stroke2_corner0_rounded_filled.svg [🐴] Change up icons (#3938) 2024-05-10 10:42:45 -05:00
moon_stroke2_corner2_rounded.svg Move theme controls to its own screen (#4866) 2024-08-01 19:14:32 +02:00
musicNote_stroke2_corner0_rounded.svg Add icons for onboarding (#3571) 2024-04-16 09:08:11 -05:00
mute_stroke2_corner0_rounded.svg Add tags and mute words (#2968) 2024-02-26 20:33:48 -08:00
news2_stroke2_corner0_rounded.svg New Onboarding (#2596) 2024-01-25 20:22:40 -08:00
newskie.svg Is it "newskie" or "newsky" 🤔 (#4557) 2024-06-18 12:59:50 -05:00
openQuote_filled_stroke2_corner0_rounded.svg Use ALF for post controls (#3400) 2024-05-30 01:25:11 +01:00
openQuote_stroke2_corner0_rounded.svg Use ALF for post controls (#3400) 2024-05-30 01:25:11 +01:00
pageText_stroke2_corner0_rounded.svg Add tags and mute words (#2968) 2024-02-26 20:33:48 -08:00
paperPlane_stroke2_corner0_rounded.svg [Clipclops] Replace 🐴 with real icon (#3802) 2024-05-01 21:49:10 +01:00
pause_filled_corner0_rounded.svg [Videos] Video player - PR #2 - better web support (#4732) 2024-08-07 18:47:51 +01:00
pause_filled_corner2_rounded.svg [Videos] Video player - PR #2 - better web support (#4732) 2024-08-07 18:47:51 +01:00
pause_stroke2_corner0_rounded.svg [Videos] Video player - PR #2 - better web support (#4732) 2024-08-07 18:47:51 +01:00
pause_stroke2_corner2_rounded.svg [Videos] Video player - PR #2 - better web support (#4732) 2024-08-07 18:47:51 +01:00
pencilLine_stroke2_corner0_rounded.svg fix pencil svg in asset folder 2024-03-20 20:18:31 +00:00
pencil_stroke2_corner0_rounded.svg Add icons for onboarding (#3571) 2024-04-16 09:08:11 -05:00
peopleRemove2_stroke2_corner0_rounded.svg [Embeds] Embed subdomain landing page (#3501) 2024-04-13 03:58:40 +01:00
personCheck_stroke2_corner0_rounded.svg Use new menu for Profile (#3168) 2024-03-12 14:06:12 -07:00
personPlus_filled_stroke2_corner0_rounded.svg Use new icons on notifications screen (#4299) 2024-05-31 13:13:01 +01:00
personPlus_stroke2_corner0_rounded.svg Add follow button to feed item avatar (#3560) 2024-05-31 05:05:52 +01:00
personX_stroke2_corner0_rounded.svg Use new menu for Profile (#3168) 2024-03-12 14:06:12 -07:00
person_stroke2_corner0_rounded.svg 3p moderation services [WIP] (#2550) 2024-03-18 12:46:28 -07:00
phone_stroke2_corner2_rounded.svg Move theme controls to its own screen (#4866) 2024-08-01 19:14:32 +02:00
piggyBank_stroke2_corner0_rounded.svg Add icons for onboarding (#3571) 2024-04-16 09:08:11 -05:00
pin_stroke2_corner0_rounded.svg Move feeds screen into common navigator, handle usages (#4365) 2024-06-11 11:08:06 -07:00
pizza_stroke2_corner0_rounded.svg Add icons for onboarding (#3571) 2024-04-16 09:08:11 -05:00
play_filled_corner0_rounded.svg [Videos] Video player - PR #2 - better web support (#4732) 2024-08-07 18:47:51 +01:00
play_filled_corner2_rounded.svg [Videos] Video player - PR #1 - basic player (#4731) 2024-07-25 20:41:50 +01:00
play_stroke2_corner0_rounded.svg [Videos] Video player - PR #2 - better web support (#4732) 2024-08-07 18:47:51 +01:00
play_stroke2_corner2_rounded.svg [Videos] Video player - PR #1 - basic player (#4731) 2024-07-25 20:41:50 +01:00
plusLarge_stroke2_corner0_rounded.svg New Onboarding (#2596) 2024-01-25 20:22:40 -08:00
plusSmall_stroke2_corner0_rounded.svg [Clipclops] Replace 🐴 with real icon (#3802) 2024-05-01 21:49:10 +01:00
poop_stroke2_corner0_rounded.svg Add icons for onboarding (#3571) 2024-04-16 09:08:11 -05:00
qrCode_stroke2_corner0_rounded.svg Starter Packs (#4332) 2024-06-21 21:38:04 -07:00
raisingHand4Finger_stroke2_corner0_rounded.svg 3p moderation services [WIP] (#2550) 2024-03-18 12:46:28 -07:00
repost_stroke2_corner0_rounded.svg Use ALF for post controls (#3400) 2024-05-30 01:25:11 +01:00
repost_stroke2_corner2_rounded.svg [Embeds] Embed for single post (#3450) 2024-04-13 02:07:39 +01:00
repost_stroke2_corner3_rounded.svg Use ALF for post controls (#3400) 2024-05-30 01:25:11 +01:00
rose_stroke2_corner0_rounded.svg Add icons for onboarding (#3571) 2024-04-16 09:08:11 -05:00
settingsGear2_filled_corner0_rounded.svg [🐴] Change up icons (#3938) 2024-05-10 10:42:45 -05:00
settingsGear2_stroke2_corner0_rounded.svg 3p moderation services [WIP] (#2550) 2024-03-18 12:46:28 -07:00
settingsSliderVertical_stroke2_corner0_rounded.svg [Clipclops] New routes with placeholder screens (#3725) 2024-04-27 05:54:18 +01:00
shaka_stroke2_corner0_rounded.svg Add icons for onboarding (#3571) 2024-04-16 09:08:11 -05:00
shapes_stroke2_corner0_rounded.svg Move feeds screen into common navigator, handle usages (#4365) 2024-06-11 11:08:06 -07:00
shield_stroke2_corner0_rounded.svg 3p moderation services [WIP] (#2550) 2024-03-18 12:46:28 -07:00
speakerVolumeFull_stroke2_corner0_rounded.svg Refactor `PostDropdownBtn` to use new `Menu` (#3112) 2024-03-08 14:45:59 -06:00
squareArrowTopRight_stroke2_corner0_rounded.svg 3p moderation services [WIP] (#2550) 2024-03-18 12:46:28 -07:00
squareBehindSquare4_stroke2_corner0_rounded.svg 3p moderation services [WIP] (#2550) 2024-03-18 12:46:28 -07:00
star_filled_corner0_rounded.svg Move feeds screen into common navigator, handle usages (#4365) 2024-06-11 11:08:06 -07:00
star_stroke2_corner0_rounded.svg Move feeds screen into common navigator, handle usages (#4365) 2024-06-11 11:08:06 -07:00
starterPack.svg Starter Packs (#4332) 2024-06-21 21:38:04 -07:00
starter_pack_icon.svg Starter Packs (#4332) 2024-06-21 21:38:04 -07:00
streamingLive_stroke2_corner0_rounded.svg Convert profile edit avatar/banner dropdown menus to new menu (#3177) 2024-03-12 10:17:27 -07:00
ticket_stroke2_corner0_rounded.svg run ticket through svgomg 2024-03-15 13:53:57 +00:00
timesLarge_stroke2_corner0_rounded.svg Add icons for onboarding (#3571) 2024-04-16 09:08:11 -05:00
trash_stroke2_corner0_rounded.svg Refactor `PostDropdownBtn` to use new `Menu` (#3112) 2024-03-08 14:45:59 -06:00
trending2_stroke2_corner2_rounded.svg New Onboarding (#2596) 2024-01-25 20:22:40 -08:00
triangleExclamation_stroke2_corner2_rounded.svg 3p moderation services [WIP] (#2550) 2024-03-18 12:46:28 -07:00
ufo_stroke2_corner0_rounded.svg Add icons for onboarding (#3571) 2024-04-16 09:08:11 -05:00
userCircle_filled_corner0_rounded.svg [🐴] Change up icons (#3938) 2024-05-10 10:42:45 -05:00
userCircle_stroke2_corner0_rounded.svg [🐴] Change up icons (#3938) 2024-05-10 10:42:45 -05:00
videoClip_stroke2_corner0_rounded.svg Video compression in composer (#4638) 2024-07-05 17:50:03 -07:00
warning_stroke2_corner0_rounded.svg Refactor `PostDropdownBtn` to use new `Menu` (#3112) 2024-03-08 14:45:59 -06:00
zap_stroke2_corner0_rounded.svg Add icons for onboarding (#3571) 2024-04-16 09:08:11 -05:00