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
kibigo!
45c44989c8
Forking glitch theme
7 years ago
unarist
784c7510d7
Fix an error when video playback buffer is empty ( #5300 )
7 years ago
Nolan Lawson
db33a53ee8
Video preload should be a string ( #5267 )
7 years ago
Eugen Rochko
292f3cd7e0
Show buffering in video player ( #5261 )
7 years ago
Nolan Lawson
c567c87453
Toggle contain:strict on fullscreen ( #5159 )
...
* Toggle contain:strict on fullscreen
* Fix scss lint issue
* fix scss whitespace lint issue
7 years ago
Eugen Rochko
4ec1771165
Add ability to specify alternative text for media attachments ( #5123 )
...
* Fix #117 - Add ability to specify alternative text for media attachments
- POST /api/v1/media accepts `description` straight away
- PUT /api/v1/media/:id to update `description` (only for unattached ones)
- Serialized as `name` of Document object in ActivityPub
- Uploads form adjusted for better performance and description input
* Add tests
* Change undo button blend mode to difference
7 years ago
Eugen Rochko
2bbf987a0a
Redesign video player ( #4911 )
...
* Redesign video player
* Use new video player on static public pages too
* Use media gallery component on static public pages too
* Pause video when hiding it
* Full-screen sizing on WebKit
* Add aria labels to video player buttons
* Display link card on public status page
* Fix fullscreen from modal sizing issue
* Remove contain: strict property to fix fullscreen from columns
7 years ago