Thibaut Girka
2aa0cdf7e6
Use the `Icon` component instead of directly using `i` tag
5 years ago
Thibaut Girka
f2b307af25
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
3aeaf9b897
[Glitch] Add audio player
...
Port 4190e31626
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
ab019800f8
[Glitch] Add media editing modal
...
Port 23f7afa562
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
4175f13155
[Glitch] Add option to disable blurhash previews
...
Port 3086c645fd
to glitch-soc
5 years ago
Thibaut Girka
6d60701bfa
Fix video player regressions introduced by blurhash merge
6 years ago
Thibaut Girka
b4d4138cf9
[Glitch] Add keyboard shortcut to hide/show media
...
Port a472190729
and 988342a56c
to glitch-soc
6 years ago
Thibaut Girka
2c767f44bf
Fix front-end crash when a video has a blurhash and is hidden behind a CW
6 years ago
Eugen Rochko
f59973cc85
[Glitch] Make the "mark media as sensitive" button more obvious in web UI
...
Port 05ef3462ba
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Eugen Rochko
bc97fd641f
[Glitch] Add button to view context to media modal
...
Port eb63217210
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Eugen Rochko
ccf4f3240a
[Glitch] Add blurhash
...
Port front-end changes from fba96c808d
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
ash lea
f534f4869e
add local setting to auto reveal media behind cw
6 years ago
Thibaut Girka
d974988541
Fix video player width not being updated to fit container width
6 years ago
Thibaut Girka
049c9a3b97
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
f35d790480
[Glitch] Fix initial value of volume slider in video player and handle volume changes
...
Port a53dcaa298
to glitch-soc
6 years ago
Thibaut Girka
3b707bdc12
[Glitch] Volume sliders for videos
...
Port f978afa487
to glitch-soc
6 years ago
Thibaut Girka
b41d60f2d8
Render placeholder when inline video container width isn't known
6 years ago
Thibaut Girka
04bedd237b
Attempt at fixing inline video player
6 years ago
Thibaut Girka
6ad7606909
[Glitch] Add support for new display_media setting
...
Port f7a6f9489d
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
925c185ef9
Prevent clicks on video from initiating selections
6 years ago
Thibaut Girka
59de2868c1
Fix media description in various media modals
6 years ago
Thibaut Girka
d8b2f15b23
Pause video playback if toot is collapsed or CWs folded ( fixes #146 )
6 years ago
Thibaut Girka
937cd03a9a
[Glitch] Add missing video descriptions
...
Port ac092d03e7
to glitch-soc
6 years ago
Thibaut Girka
494eaab5b1
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
c4e8402ef9
Fix bug when clicking on video position slider before starting the video
6 years ago
Thibaut Girka
f0fa6e3a7c
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
07baa1ddb5
[Glitch] Open video modal on public UI
...
Port d9b2f84c92
to glitch-soc
7 years ago
Thibaut Girka
658ac4396c
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
Thibaut Girka
e4dff10934
Fix video player on toot public views
7 years ago
Thibaut Girka
dcc1c10937
[Glitch] Center thumbnails on focus point
...
Port the display part of the following commits to glitch-soc:
* 90f12f2e5a
* b170627ceb
* 11697d6894
* 56eb5c3f34
7 years ago
Thibaut Girka
5d96c5ac41
[Glitch] Responsively enforce 16:9 ratio on video thumbnails in web UI
...
Port the video-player part of 036dd98abb
to
glitch-soc. MediaGallery part ignored since it has diverged quite a bit.
This fixes #423
7 years ago
Thibaut Girka
c5dd4ed1d5
[Glitch] Fix media button type
...
Port ecdac9017e
to glitch-soc
7 years ago
Thibaut Girka
dfe8abb8cd
[Glitch] Handle preference to always display sensitive media
...
Port the UI part of 76f3d5d16b
to glitch-soc
7 years ago
ncls7615
a9be680807
Fix padded-blocks error
7 years ago
ncls7615
6a73c8c8a2
Initial scss refactor
7 years ago
kibigo!
bc4fa6b198
Rename themes -> flavours ? ?
7 years ago