Islam Rustamov
1fc889b883
Remove unnecessary addEventListener call for video ( #7433 )
2025-01-14 11:42:50 +00:00
Samuel Newman
4b32b0a71b
Increase scrubber height if touch device ( #7081 )
...
* further increase target area of scrubber
* make scrubber bigger if touch device
---------
Co-authored-by: Antonio Sarcevic <sarcevicantonio@gmail.com >
2024-12-12 17:42:36 +00:00
dan
ea6ac25684
Revert "[Video] Revert safari hackfix ( #5367 )" ( #7001 )
...
This reverts commit 94e7bfbe40 .
2024-12-07 17:10:13 +00:00
Samuel Newman
5d4aaa5b5f
[a11y] Video - fix labels and make more detailed ( #6635 )
...
* fix labels and make more detailed
* move overall label to parent
2024-11-22 15:23:24 +00:00
Andrew Aquino
78e34c8d35
preserve video's last known time when scrolling away ( #6239 )
2024-11-19 22:42:25 +00:00
Paul Coroneos
ff5ad38253
Leverage jsx transform to remove unnecessary react imports and update eslint config ( #6516 )
...
* update eslint config with jsx runtime
* leverage jsx transform to remove unnecessary react imports and update eslint config
* run yarn lint --fix to remove eslint disables related to react/prop-types that is now disabled
2024-11-19 15:33:07 +00:00
Samuel Newman
ea3fe93be9
Attempted video perf improvements ( #6519 )
...
* remove layout animations from video
* only show button/spinner when necessary
* use native activityindicator rather than loader
2024-11-19 12:50:06 +00:00
Samuel Newman
d1355d52fc
Fix video quality for short videos ( #5996 )
...
* remove auto level capping
* flush first fragment on loop
2024-10-29 13:35:43 +00:00
Hailey
509b37fafa
[Video] Prevent screen from dimming while in full screen ( #5637 )
2024-10-07 14:12:17 -07:00
Samuel Newman
94e7bfbe40
[Video] Revert safari hackfix ( #5367 )
2024-10-07 12:55:03 -07:00
Hailey
47301661f7
[Video] use dynamic import for hls.js ( #5429 )
...
Co-authored-by: Dan Abramov <dan.abramov@gmail.com >
2024-09-25 09:51:51 -07:00
dan
ddaf2c62bd
[Video] Refactor HLS logic ( #5468 )
...
* Extract HLS interop into useHLS
* Rename variable
* Move flushing outside an effect
* use continue instead of return
---------
Co-authored-by: Samuel Newman <mozzius@protonmail.com >
2024-09-24 21:47:09 +01:00
Samuel Newman
91853ed538
[Video] Flush low quality segments once focused ( #5430 )
...
* Update VideoEmbedInnerWeb.tsx
* keep proper track and flush properly
* consistent current
* use current in listener
* manually loop
2024-09-23 20:30:34 +01:00
Samuel Newman
443f3a6406
Use pressable for video controls ( #5452 )
...
* use pressable for video controls
* add `as any` to preexisiting bad type
* stop mutating prop
2024-09-23 16:35:16 +01:00
Samuel Newman
79a2f8d528
Increase rounding for all embeds ( #5421 )
...
* tweak image styles
* fix reply image preview and covert to atoms
* increase rounding on media inset border
* decrease gap on desktop
* fix inset styles
* increase rounding on embeds to `md`
* Couple edge cases
---------
Co-authored-by: Eric Bailey <git@esb.lol >
2024-09-20 14:47:28 -05:00
Eric Bailey
0eed1cfec1
[Neue] Buttons ( #5406 )
...
* Re-align button sizing
(cherry picked from commit bcec243bb59dfe468313d98ba61f464d9750feec)
* Use large, small, tiny
(cherry picked from commit 1dc333c2993ab7f2e0ac750c0670dcec9a7069d0)
* Tweaks
2024-09-20 11:38:51 -05:00
Hailey
0414b95c58
[Video] Additional android fixes ( #5373 )
...
* rm unused code
* bump lib
* invert bool
2024-09-17 14:04:59 +09:00
Samuel Newman
8daf6b7868
[Video] Fix safari showing spinner ( #5364 )
2024-09-16 14:22:22 -07:00
Samuel Newman
8241747fc2
[Video] Volume controls on web ( #5363 )
...
* split up VideoWebControls
* add basic slider
* logarithmic volume
* integrate mute state
* fix typo
* shared video volume
* rm log
* animate in/out
* disable for touch devices
* remove flicker on touch devices
* more detailed comment
* move into correct context provider
* add minHeight
* hack
* bettern umber
---------
Co-authored-by: Hailey <me@haileyok.com >
2024-09-16 21:37:33 +01:00
Samuel Newman
75e3f51c10
[Video] Fix scrubber tap target ( #5360 )
...
* put padding on correct element
* clear timeout on down
2024-09-16 18:15:07 +01:00
surfdude29
2a344d8f12
Add context to Unmute and Mute strings ( #5340 )
...
Co-authored-by: Hailey <me@haileyok.com >
2024-09-15 12:11:44 -07:00
Hailey
843f9925f5
[Video] Remember mute state while scrolling ( #5331 )
2024-09-13 14:07:13 -07:00
Hailey
26508cfe6a
[Video] Remove expo-video, use bluesky-video ( #5282 )
...
Co-authored-by: Samuel Newman <mozzius@protonmail.com >
2024-09-13 12:44:42 -07:00
Eric Bailey
b3381da1c1
Image/video border + tweaks ( #5324 )
...
* Image/video border (#5253 )
* Update AutoSizedImage.tsx
* Update AutoSizedImage.tsx
* Update Gallery.tsx
* Update ExternalLinkEmbed.tsx
* Update MediaPreview.tsx
* Update UserAvatar.tsx
* Update ExternalLinkEmbed.tsx
* Update ExternalPlayerEmbed.tsx
* Update ExternalGifEmbed.tsx
* Update GifEmbed.tsx
* Update ExternalGifEmbed.tsx
* Update GifEmbed.tsx
* Update UserAvatar.tsx
* Update ExternalPlayerEmbed.tsx
* Update ExternalPlayerEmbed.tsx
* video
* Update QuoteEmbed.tsx
* Tweaks, abstract components
---------
Co-authored-by: Minseo Lee <itoupluk427@gmail.com >
2024-09-13 18:02:58 +01:00
Minseo Lee
4d22adbcf6
Tabular numbers to video timestamp ( #5293 )
2024-09-12 15:30:57 +01:00
Samuel Newman
580b67ba37
disable autoplay within messages and trim feelers ( #5260 )
2024-09-11 16:20:32 +01:00
Samuel Newman
b04ecbe54d
hls buffering tweaks ( #5266 )
2024-09-11 16:20:20 +01:00
Samuel Newman
db38438549
increase target area of scrubber ( #5265 )
2024-09-11 16:20:08 +01:00
Samuel Newman
fc25992070
[Video] make hover state stick around if tapped ( #5259 )
2024-09-10 20:19:37 -07:00
Samuel Newman
c22492147b
remove scrollbar-gutter in fullscreen ( #5258 )
2024-09-10 23:18:08 +01:00
Samuel Newman
66239ba11d
[Video] Fix fullscreen on Chrome ( #5246 )
2024-09-09 22:37:57 -07:00
surfdude29
f240893980
Add context to Mute and Unmute labels on video control ( #5234 )
...
Co-authored-by: Marco Buono <thecoreh@gmail.com >
2024-09-09 09:29:14 -07:00
Hailey
7e4f8cabd3
[Video] Handle push/pop on Android for autoplay ( #5194 )
2024-09-06 15:01:05 -07:00
Hailey
60182cd874
[Video] Add disable autoplay for native, more tweaking ( #5178 )
2024-09-06 09:31:01 -07:00
Hailey
93c171b403
[Video] Use expo-video from fork ( #5159 )
2024-09-05 08:27:28 -07:00
Samuel Newman
428607d9a3
[Video] throw HLS errors to be caught by error boundary ( #5166 )
...
* throw HLS errors to be caught by error boundary
* wording tweak
* do the same on native
* fix type error
2024-09-05 16:03:00 +01:00
Samuel Newman
60b74f7ab8
[Video] Disable autoplay option (preview + web player) ( #5167 )
...
* rename setting
* preview (web)
* preview (native)
* improve autoplay disabled behaviour on web
2024-09-05 15:56:10 +01:00
Hailey
2556698427
[Video] Add loading state to player ( #5149 )
2024-09-04 16:46:01 -07:00
Samuel Newman
fcf27f0512
[Video] content fit cover on native ( #5140 )
2024-09-04 19:56:02 +01:00
Hailey
d94ff2695d
[Video] Throw error when playback fails ( #5132 )
2024-09-04 08:06:58 -07:00
Hailey
21e48bb2d8
[Video] Tweak playback handling ( #5127 )
2024-09-04 08:00:53 -07:00
Samuel Newman
5c2e9f09bf
reset playback rate on exit fullscreen ( #5116 )
2024-09-03 19:46:37 +01:00
Hailey
7f26ad508e
[Video] Toggle controls when entering fullscreen ( #5113 )
2024-09-03 11:04:46 -07:00
Hailey
dde72b48e1
[Video] Manage foreground/background playback on the native side ( #5104 )
2024-09-03 08:41:14 -07:00
Samuel Newman
f9d736653c
[Video] Hide mouse when inactive ( #5094 )
2024-09-03 11:51:16 +01:00
Samuel Newman
eb868a042a
[Video] Misc player style tweaks ( #5064 )
...
* use actual black rather than theme black
* adjust time/mute indicators
2024-09-02 09:33:46 +01:00
Samuel Newman
17d82a64a6
[Video] Remove hack from scrubber ( #5063 )
...
* remove mouseleave, add pointer cancel
* don't show time indicator if duration is 0
2024-09-02 09:32:51 +01:00
Samuel Newman
c70ec1ce1a
[Video] Captions and alt text ( #5009 )
...
* video settings modal in composer
* show done button on web
* rm download options
* fix logic for showing settings button
* add language picker (wip)
* subtitle list with language select
* send captions & alt text with video when posting
* style "ensure you have selected a language" text
* include aspect ratio with video
* filter out captions where the lang is not set
* rm log
* fix label and add hint
* minor scrubber fix
2024-08-30 18:45:49 +01:00
Samuel Newman
551c4a4f32
[Video] Add uploaded video to post ( #4884 )
...
* video uploads!
* use video upload lexicons
* add missing postgate
* remove references to prerelease package
* fix scrubber showing a "0"
* Delete types.ts
* rm logs
* rm upload header
---------
Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com >
2024-08-29 16:34:41 +01:00
Hailey
d52d29621e
[Video] Add timeRemainingChange event to player in expo-video ( #5013 )
2024-08-29 08:28:41 -07:00