CommanderRoot
9b95077885
[Glitch] Replace deprecated String.prototype.substr()
...
Port 0ec695e036dab45d57598f451266bd0b176df9fd to glitch-soc
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-04-06 16:08:33 +02:00
Josh Soref
69a4f17988
[Glitch] Spelling
...
Port front-end changes from b5329e0035d455e72dad7249d88bd624b5cb59a0 to glitch-soc
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-03-08 20:36:31 +01:00
Takeshi Umeda
34cc6f45ac
[Glitch] Fix expand video on public page
...
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-05-07 22:47:09 +02:00
Eugen Rochko
d973a90bcc
[Glitch] Fix not being able to open audio modal in web UI
...
Port a8c471fcc043b61aa10cf8f849dfb552db7381d3 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-05-07 22:47:09 +02:00
Eugen Rochko
50b100df00
Change media modals look in web UI
...
Port 1e89e2ed988d2103ecd46e06476d863cb40c57c7 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-05-07 22:47:09 +02:00
Takeshi Umeda
98fd0cca55
[Glitch] Fix defaultProps of frameRate to string
...
Port a50fe47a77118dba043143c01d0d6ad6c82f9b31 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-01-06 18:32:37 +01:00
Thibaut Girka
4dab236690
Default to 25 fps for frame seeking if framerate information isn't known
2020-11-25 15:47:23 +01:00
Eugen Rochko
51d0e1c7b4
[Glitch] Fix hardcoded frame rate for frame by frame video navigation in web UI
...
Port f970e1fab6ca5d2334604b86d6e472e64510ea40 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-11-25 15:46:09 +01:00
Thibaut Girka
3281c9b4c0
Fix video not taking focus on interaction
...
Revert part of #737 to restore hotkey functionality
2020-11-20 14:20:17 +01:00
Eugen Rochko
b82aa33dea
[Glitch] Add hotkeys for audio/video control
...
Port 04a079e7230bc4e73b897e3c4462011cddf36474 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-11-20 13:40:05 +01:00
Thibaut Girka
a48dbc78f8
Fix hiding video breaking playback
...
Also make the video player code closer to upstream
2020-11-04 18:53:39 +01:00
Mélanie Chauvel
578e757d09
[Glitch] Make click area of video/audio player buttons bigger in WebUI
...
Port a5afbb62d25306dc9d28fa8d0e85edf02c63d2a3 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-11-03 17:42:40 +01:00
fuyu
37dfb9dddc
[Glitch] Fix wrong seek bar width on media player
...
Port 8d7fbe7dd9b0a64915a96d342579ab80951be840 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-11-03 17:37:53 +01:00
Eugen Rochko
8f950e540b
[Glitch] Add pop-out player for audio/video in web UI
...
port d88a79b4566869ede24958fbff946e357bbb3cb9 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-10-26 19:51:09 +01:00
ThibG
f94cb94767
[Glitch] Fix error when closing a playing audio or video modal
...
Port bfed7dd5f3127f08ece3070bd67f5737933bac1a to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-16 14:44:53 +02:00
Sasha Sorokin
042c32ea3b
[Glitch] Replace repetitive blurhash code with component ( #14267 )
...
Port 61c07c37317f01c1ab4981826704750fe9937fe7 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-10 16:59:53 +02:00
Eugen Rochko
06309129be
[Glitch] Fix audio/video/images/cards not reacting to window resizes in web UI
...
Port bb9ca8a587ee5a3ec8778e72828aca0ba8871327 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>
2020-07-02 17:31:09 +02:00
Eugen Rochko
1c58420831
[Glitch] Change volume control and download buttons in web UI
...
Port 419ad6248beb192f34ef581306138c3ff0d600a9 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-02 17:31:09 +02:00
Eugen Rochko
2bb25c7730
[Glitch] Fix various issues around OpenGraph representation of media
...
Port front-end changes (except for audio player) from 662a49dc3f06749936cedd7349092bbe622f0bc6 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-06-26 13:23:56 +02:00
ThibG
572e89e563
[Glitch] Fix expanded video player issues
...
Port c955f98d36868e85b0f1939a3a1c58c00babd4e8 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-04-25 15:28:16 +02:00
Mélanie Chauvel (ariasuni)
eae96cb204
[Glitch] Add tooltips to audio/video player buttons
...
Port 036ba3f51065a96cb9203a9ac5aa71d7d6edeebe to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-03-08 19:59:42 +01:00
fuyu
b9aa57d5bf
[Glitch] Don't display toggle reveal button in video modal when full screen
...
Port 5711899c59147252a01e21371994ca6a60418628 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-02-06 21:39:26 +01:00
ThibG
776352d329
[Glitch] Add hotkey for opening media files
...
Port a690b3e470ed85cc6f3f8fa7aec57d04b60a4705 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-11-30 17:52:12 +01:00
Nima Boscarino
bde35e7878
[Glitch] Add download button to audio and video players
...
Port 9b36f62df63003419cb2ca08e77f2fa69fed91ad to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-27 15:41:22 +01:00
ThibG
957eb4241a
[Glitch] Fix volume slider in chromium 🤷
...
Port bcf694dce7536d29ede3c0865b00cb84f348b5e1 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-27 14:42:44 +01:00
Thibaut Girka
2aa0cdf7e6
Use the Icon
component instead of directly using i
tag
2019-09-09 19:00:20 +02:00
Thibaut Girka
f2b307af25
Move “export” before decorators
...
As this is what upstream does.
See also https://github.com/tc39/proposal-decorators/issues/69
2019-09-09 18:36:43 +02:00
Eugen Rochko
3aeaf9b897
[Glitch] Add audio player
...
Port 4190e31626907059aebf32b1be66715dacb989a9 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-29 17:32:22 +02:00
Eugen Rochko
ab019800f8
[Glitch] Add media editing modal
...
Port 23f7afa562c49b24e979505680463bc712b11d94 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-19 21:56:25 +02:00
ThibG
4175f13155
[Glitch] Add option to disable blurhash previews
...
Port 3086c645fde2345d34e401bdf3e2f19f19da3294 to glitch-soc
2019-06-26 23:19:26 +02:00
Thibaut Girka
6d60701bfa
Fix video player regressions introduced by blurhash merge
2019-05-27 19:43:15 +02:00
Thibaut Girka
b4d4138cf9
[Glitch] Add keyboard shortcut to hide/show media
...
Port a472190729782f31731674c626c07af483fe9c7f and 988342a56cb58da9ac660eec3e55c3bcbbd6269b to glitch-soc
2019-05-27 19:43:15 +02:00
Thibaut Girka
2c767f44bf
Fix front-end crash when a video has a blurhash and is hidden behind a CW
2019-05-07 22:33:37 +02:00
Eugen Rochko
f59973cc85
[Glitch] Make the "mark media as sensitive" button more obvious in web UI
...
Port 05ef3462ba0af7b147a7cfa8de2735e99dc59ac5 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-04 20:41:21 +02:00
Eugen Rochko
bc97fd641f
[Glitch] Add button to view context to media modal
...
Port eb63217210b0ab85ff1fcca9506d5e7931382a56 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-04 19:10:24 +02:00
Eugen Rochko
ccf4f3240a
[Glitch] Add blurhash
...
Port front-end changes from fba96c808d25d2fc35ec63ee6745a1e55a95d707 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-04 18:07:44 +02:00
ash lea
f534f4869e
add local setting to auto reveal media behind cw
2019-03-11 12:14:45 +01:00
Thibaut Girka
d974988541
Fix video player width not being updated to fit container width
2019-02-18 10:44:37 +01:00
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.
2019-02-10 22:54:25 +01:00
Thibaut Girka
f35d790480
[Glitch] Fix initial value of volume slider in video player and handle volume changes
...
Port a53dcaa29869e808707efcba541b02ee8d799e75 to glitch-soc
2019-01-27 22:02:59 +01:00
Thibaut Girka
3b707bdc12
[Glitch] Volume sliders for videos
...
Port f978afa4871c22caecb625a0b3eba533edfa309b to glitch-soc
2018-11-27 15:21:57 +01:00
Thibaut Girka
b41d60f2d8
Render placeholder when inline video container width isn't known
2018-11-25 11:29:56 +01:00
Thibaut Girka
04bedd237b
Attempt at fixing inline video player
2018-10-21 16:09:07 +02:00
Thibaut Girka
6ad7606909
[Glitch] Add support for new display_media setting
...
Port f7a6f9489da9b2a1820366654df47b8a52f5c5bc 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"
2018-10-01 16:48:55 +02:00
Thibaut Girka
925c185ef9
Prevent clicks on video from initiating selections
2018-09-21 12:56:13 +02:00
Thibaut Girka
59de2868c1
Fix media description in various media modals
2018-09-11 18:29:19 +02:00
Thibaut Girka
d8b2f15b23
Pause video playback if toot is collapsed or CWs folded ( fixes #146 )
2018-09-05 11:58:56 +02:00
Thibaut Girka
937cd03a9a
[Glitch] Add missing video descriptions
...
Port ac092d03e7a781d27aff9cb9ea4637be9c5f2a2a to glitch-soc
2018-08-27 20:21:23 +02:00
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.
2018-08-14 21:56:23 +02:00
Thibaut Girka
c4e8402ef9
Fix bug when clicking on video position slider before starting the video
2018-08-14 21:56:23 +02:00