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
Thibaut Girka
2f73a9358e
Prevent default event handling when clicking on the video position slider
...
This prevents accidental text selection and avoids opening the toot containing
the video in the dynamic column when clicking on the position slider.
6 years ago
Thibaut Girka
4c835854d6
[Glitch] Open video modal on public UI
...
Port efc482361b
to glitch-soc
7 years ago
Thibaut Girka
3333cce41e
Hide media in report modal regardless of whether they are marked sensitive
...
The rationale behind this is that if the user wants to report violent media,
they might not want to see it repeatedly. The “sensitive” property is still
kept, displaying different messages for hidden media depending on whether
they are marked as sensitive.
7 years ago
beatrix
d53630b9ed
Merge pull request #434 from ThibG/glitch-soc/fixes/public-inline-video
...
Fix video player on toot public views
7 years ago
Thibaut Girka
e4b0a92c0f
Fix video player on toot public views
7 years ago
Thibaut Girka
e0bffe8856
[Glitch] Center thumbnails on focus point
...
Port the display part of the following commits to glitch-soc:
* 865c7e7178
* 62d18a3f9b
* 15ec9431be
* c1d44284ca
7 years ago
Thibaut Girka
9a3fd77c72
[Glitch] Responsively enforce 16:9 ratio on video thumbnails in web UI
...
Port the video-player part of 8c85fd26bb
to
glitch-soc. MediaGallery part ignored since it has diverged quite a bit.
This fixes #423
7 years ago
Thibaut Girka
6153d6a6dc
[Glitch] Fix media button type
...
Port 6cb5d71e5f
to glitch-soc
7 years ago
Thibaut Girka
4b1909612a
[Glitch] Handle preference to always display sensitive media
...
Port the UI part of 219b28e172
to glitch-soc
7 years ago
ncls7615
75af54925a
Fix padded-blocks error
7 years ago
ncls7615
9e7150c6fa
Initial scss refactor
7 years ago
kibigo!
882055afd0
Rename themes -> flavours ? ?
7 years ago