Commit graph

31 commits

Author SHA1 Message Date
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
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
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
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
Hailey
d52d29621e
[Video] Add timeRemainingChange event to player in expo-video (#5013) 2024-08-29 08:28:41 -07:00
Samuel Newman
d92731b1eb
[Video] Lexicon implementation (#4881)
* implement AppBskyEmbedVideo lexicon in player

* add alt to native player

* add prerelease package

* update prerelease

* add video embed view manually from record

* fix type error on example video

* black bg + use aspect ratio on web

* add video to feeds

* fix video overflowing aspect ratio

* remove prerelease package

---------

Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
2024-08-29 15:58:22 +01:00
Hailey
5ae0d40a14
[Video] 🫧 Move logic around by platform (#5003) 2024-08-28 08:46:47 -07:00
Samuel Newman
b69c40da33
add indicator of time remaining (#5000) 2024-08-27 22:15:59 +01:00
Samuel Newman
21e214c235
[Video] set audio category to ambient every time a new player is made (#4934)
* set auto category to ambient every time a new player is made

* mute on foregrounding

* remember previous state

---------

Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
Co-authored-by: Hailey <me@haileyok.com>
2024-08-14 20:21:14 +01:00
Samuel Newman
630ebf523d
[Video] Try/catch video play/pause (#4930)
Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
2024-08-13 14:00:03 -07:00
Hailey
99d1a881f2
[Video] Fix crash when switching tabs (#4925) 2024-08-12 16:49:17 -07:00
Hailey
134fcd35d8
[Video] Invert usage of setAudioActive (#4924) 2024-08-12 14:58:41 -07:00
Hailey
65d6e561d4
[Video] Resume background audio whenever muting video audio (#4915) 2024-08-09 16:52:23 -07:00
Samuel Newman
ab0da7c892
[Videos] handle app backgrounding (#4912)
* play when returning from background

* play when unfullscreening

* play when entering fullscreen, just to be sure

* state -> ref

---------

Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
2024-08-09 23:35:21 +01:00
Samuel Newman
0a9782ac19
animate controls + fade out time after a while (#4913)
Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
2024-08-09 23:32:28 +01:00
Hailey
5bfe5aa503
[Video] More tweaks to AVAudioSession options (#4910) 2024-08-09 14:35:26 -07:00
Hailey
dd0d50a6f0
[Video] Prevent pausing of background audio with expo-video on iOS (#4908)
* audio mixing pref

* lint

* patch expo video to add enter/exit fullscreen events

* rm logs

* fix audio problems

* toggle mute when enter/exiting fullscreen

---------

Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
2024-08-09 11:25:54 +01:00
Samuel Newman
a4f0c9c753
[Video] more minor tweaks (#4906)
* update expo-video

* pause when on a different screen

* rm collapsable

* add mute/unmute button

---------

Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
2024-08-09 03:24:38 +01:00
Samuel Newman
4350dbc853
[Video] Bundle of minor tweaks (#4904)
* fix bg color

* unique video urls for debug

* improve controls slightly

* mute until fullscreen

---------

Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
2024-08-09 02:33:42 +01:00
Hailey
1b02f81cb8
[Video] Visibility detection view (#4741)
Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
2024-08-07 14:45:06 -07:00