CommanderRoot
368f6ac07a
[Glitch] Replace deprecated String.prototype.substr()
...
Port 07f1888854
to glitch-soc
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
3 years ago
Josh Soref
beb59e188e
[Glitch] Spelling
...
Port front-end changes from 1c070bd94c
to glitch-soc
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
3 years ago
Takeshi Umeda
6ea8c347ab
[Glitch] Fix expand video on public page
...
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
4 years ago
Eugen Rochko
49b205ad89
[Glitch] Fix not being able to open audio modal in web UI
...
Port de8c539b7b
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
4 years ago
Eugen Rochko
65f497cac2
Change media modals look in web UI
...
Port af1fa584e9
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
4 years ago
Takeshi Umeda
251ce8e88a
[Glitch] Fix defaultProps of frameRate to string
...
Port 8c0b9e37d0
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
4 years ago
Thibaut Girka
42630afabb
Default to 25 fps for frame seeking if framerate information isn't known
4 years ago
Eugen Rochko
3a6cae746e
[Glitch] Fix hardcoded frame rate for frame by frame video navigation in web UI
...
Port bcb3a91c0c
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Thibaut Girka
7875455336
Fix video not taking focus on interaction
...
Revert part of #737 to restore hotkey functionality
4 years ago
Eugen Rochko
c1d8a04660
[Glitch] Add hotkeys for audio/video control
...
Port e8facfb2e9
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Thibaut Girka
0b30bdedf6
Fix hiding video breaking playback
...
Also make the video player code closer to upstream
4 years ago
Mélanie Chauvel
374938814e
[Glitch] Make click area of video/audio player buttons bigger in WebUI
...
Port 988d029417
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
fuyu
8ebf849f62
[Glitch] Fix wrong seek bar width on media player
...
Port 5ba6548e62
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Eugen Rochko
f08b14ce71
[Glitch] Add pop-out player for audio/video in web UI
...
port fc497420e9
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
ThibG
98223df18c
[Glitch] Fix error when closing a playing audio or video modal
...
Port ddd69f3ae9
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Sasha Sorokin
2e73171628
[Glitch] Replace repetitive blurhash code with component ( #14267 )
...
Port 7418e0e613
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Eugen Rochko
9d737108a6
[Glitch] Fix audio/video/images/cards not reacting to window resizes in web UI
...
Port d0dc37eadb
to glitch-soc
Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Eugen Rochko
27becaa9df
[Glitch] Change volume control and download buttons in web UI
...
Port ce34c13aff
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Eugen Rochko
03273b3c7b
[Glitch] Fix various issues around OpenGraph representation of media
...
Port front-end changes (except for audio player) from 12ac904a33
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
ThibG
ed2267b78e
[Glitch] Fix expanded video player issues
...
Port 3526163340
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Mélanie Chauvel (ariasuni)
787b4748dc
[Glitch] Add tooltips to audio/video player buttons
...
Port 635812f9ea
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
fuyu
0c266be79b
[Glitch] Don't display toggle reveal button in video modal when full screen
...
Port b8db3b4cdf
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
55d1f5c78c
[Glitch] Add hotkey for opening media files
...
Port af891f82be
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Nima Boscarino
6800ddd649
[Glitch] Add download button to audio and video players
...
Port 3a451c820c
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
f94af5dc67
[Glitch] Fix volume slider in chromium 🤷
...
Port 2ac808a85d
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
9b0b130299
Use the `Icon` component instead of directly using `i` tag
5 years ago
Thibaut Girka
080bdf6949
Move “export” before decorators
...
As this is what upstream does.
See also https://github.com/tc39/proposal-decorators/issues/69
5 years ago
Eugen Rochko
024b9a24e0
[Glitch] Add audio player
...
Port f13761d84b
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
4982885bfa
[Glitch] Add media editing modal
...
Port da208e7d9b
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
dd97db20d0
[Glitch] Add option to disable blurhash previews
...
Port 4b3d91dc2c
to glitch-soc
5 years ago
Thibaut Girka
938edb44a1
Fix video player regressions introduced by blurhash merge
6 years ago
Thibaut Girka
c1619a5c24
[Glitch] Add keyboard shortcut to hide/show media
...
Port 7ee189fa60
and 9e238804ea
to glitch-soc
6 years ago
Thibaut Girka
40a480ea34
Fix front-end crash when a video has a blurhash and is hidden behind a CW
6 years ago
Eugen Rochko
8050f86d04
[Glitch] Make the "mark media as sensitive" button more obvious in web UI
...
Port cc39785d45
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Eugen Rochko
52c09770fe
[Glitch] Add button to view context to media modal
...
Port 4aabc452d0
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Eugen Rochko
87a7a9a4df
[Glitch] Add blurhash
...
Port front-end changes from a6d2fe7165
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
ash lea
00bc35891b
add local setting to auto reveal media behind cw
6 years ago
Thibaut Girka
2bf47542f3
Fix video player width not being updated to fit container width
6 years ago
Thibaut Girka
3d5ef5c497
Avoid two-step rendering of statuses as much as possible
...
Cache width shared by Video player, MediaGallery and Cards at the
ScrollableList level, pass it down through StatusList and Notifications.
6 years ago
Thibaut Girka
00fc362103
[Glitch] Fix initial value of volume slider in video player and handle volume changes
...
Port b5feaa4d54
to glitch-soc
6 years ago
Thibaut Girka
c81ad5a2cb
[Glitch] Volume sliders for videos
...
Port b7229bef1a
to glitch-soc
6 years ago
Thibaut Girka
b8018a1bcb
Render placeholder when inline video container width isn't known
6 years ago
Thibaut Girka
3d8c1f6104
Attempt at fixing inline video player
6 years ago
Thibaut Girka
536d95ae7c
[Glitch] Add support for new display_media setting
...
Port bb8afc4608
to glitch-soc
[API] [vanilla required] [glitch-soc optional] initial_state show_sensitive_media boolean changed to show_media string with options "default", "hide_all", "show_all"
6 years ago
Thibaut Girka
6af379cf53
Prevent clicks on video from initiating selections
6 years ago
Thibaut Girka
12abb0f530
Fix media description in various media modals
6 years ago
Thibaut Girka
d465da45b4
Pause video playback if toot is collapsed or CWs folded ( fixes #146 )
6 years ago
Thibaut Girka
1295515bd4
[Glitch] Add missing video descriptions
...
Port 5b773a2c9c
to glitch-soc
6 years ago
Thibaut Girka
919bd0842d
Slightly more aggressive video preloading
...
- Preload video metadata if the video is loaded in detailed view, as it is
likely to get played, and metadata is useful for seeking in the video.
- Preload video data if it's fullscreen as it is extremely likely to get
played right after being put in fullscreen (although those are two steps).
- Preload video data if the user has clicked the position slider, as the video
will play as soon as the mouse button is released, and video metadata is
needed to properly seek into the video.
6 years ago
Thibaut Girka
99b2e034c2
Fix bug when clicking on video position slider before starting the video
6 years ago