about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/video/index.js
AgeCommit message (Collapse)Author
2020-11-20Fix video not taking focus on interactionThibaut Girka
Revert part of #737 to restore hotkey functionality
2020-11-20[Glitch] Add hotkeys for audio/video controlEugen Rochko
Port 04a079e7230bc4e73b897e3c4462011cddf36474 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-11-04Fix hiding video breaking playbackThibaut Girka
Also make the video player code closer to upstream
2020-11-03[Glitch] Make click area of video/audio player buttons bigger in WebUIMélanie Chauvel
Port a5afbb62d25306dc9d28fa8d0e85edf02c63d2a3 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-11-03[Glitch] Fix wrong seek bar width on media playerfuyu
Port 8d7fbe7dd9b0a64915a96d342579ab80951be840 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-10-26[Glitch] Add pop-out player for audio/video in web UIEugen Rochko
port d88a79b4566869ede24958fbff946e357bbb3cb9 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-16[Glitch] Fix error when closing a playing audio or video modalThibG
Port bfed7dd5f3127f08ece3070bd67f5737933bac1a to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-10[Glitch] Replace repetitive blurhash code with component (#14267)Sasha Sorokin
Port 61c07c37317f01c1ab4981826704750fe9937fe7 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-02[Glitch] Fix audio/video/images/cards not reacting to window resizes in web UIEugen Rochko
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[Glitch] Change volume control and download buttons in web UIEugen Rochko
Port 419ad6248beb192f34ef581306138c3ff0d600a9 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-06-26[Glitch] Fix various issues around OpenGraph representation of mediaEugen Rochko
Port front-end changes (except for audio player) from 662a49dc3f06749936cedd7349092bbe622f0bc6 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-04-25[Glitch] Fix expanded video player issuesThibG
Port c955f98d36868e85b0f1939a3a1c58c00babd4e8 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-03-08[Glitch] Add tooltips to audio/video player buttonsMélanie Chauvel (ariasuni)
Port 036ba3f51065a96cb9203a9ac5aa71d7d6edeebe to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-02-06[Glitch] Don't display toggle reveal button in video modal when full screenfuyu
Port 5711899c59147252a01e21371994ca6a60418628 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-11-30[Glitch] Add hotkey for opening media filesThibG
Port a690b3e470ed85cc6f3f8fa7aec57d04b60a4705 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-27[Glitch] Add download button to audio and video playersNima Boscarino
Port 9b36f62df63003419cb2ca08e77f2fa69fed91ad to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-27[Glitch] Fix volume slider in chromium 🤷ThibG
Port bcf694dce7536d29ede3c0865b00cb84f348b5e1 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-09Use the `Icon` component instead of directly using `i` tagThibaut Girka
2019-09-09Move “export” before decoratorsThibaut Girka
As this is what upstream does. See also https://github.com/tc39/proposal-decorators/issues/69
2019-08-29[Glitch] Add audio playerEugen Rochko
Port 4190e31626907059aebf32b1be66715dacb989a9 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-19[Glitch] Add media editing modalEugen Rochko
Port 23f7afa562c49b24e979505680463bc712b11d94 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-26[Glitch] Add option to disable blurhash previewsThibG
Port 3086c645fde2345d34e401bdf3e2f19f19da3294 to glitch-soc
2019-05-27Fix video player regressions introduced by blurhash mergeThibaut Girka
2019-05-27[Glitch] Add keyboard shortcut to hide/show mediaThibaut Girka
Port a472190729782f31731674c626c07af483fe9c7f and 988342a56cb58da9ac660eec3e55c3bcbbd6269b to glitch-soc
2019-05-07Fix front-end crash when a video has a blurhash and is hidden behind a CWThibaut Girka
2019-05-04[Glitch] Make the "mark media as sensitive" button more obvious in web UIEugen Rochko
Port 05ef3462ba0af7b147a7cfa8de2735e99dc59ac5 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-04[Glitch] Add button to view context to media modalEugen Rochko
Port eb63217210b0ab85ff1fcca9506d5e7931382a56 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-04[Glitch] Add blurhashEugen Rochko
Port front-end changes from fba96c808d25d2fc35ec63ee6745a1e55a95d707 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-03-11add local setting to auto reveal media behind cwash lea
2019-02-18Fix video player width not being updated to fit container widthThibaut Girka
2019-02-10Avoid two-step rendering of statuses as much as possibleThibaut Girka
Cache width shared by Video player, MediaGallery and Cards at the ScrollableList level, pass it down through StatusList and Notifications.
2019-01-27[Glitch] Fix initial value of volume slider in video player and handle ↵Thibaut Girka
volume changes Port a53dcaa29869e808707efcba541b02ee8d799e75 to glitch-soc
2018-11-27[Glitch] Volume sliders for videosThibaut Girka
Port f978afa4871c22caecb625a0b3eba533edfa309b to glitch-soc
2018-11-25Render placeholder when inline video container width isn't knownThibaut Girka
2018-10-21Attempt at fixing inline video playerThibaut Girka
2018-10-01[Glitch] Add support for new display_media settingThibaut Girka
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-09-21Prevent clicks on video from initiating selectionsThibaut Girka
2018-09-11Fix media description in various media modalsThibaut Girka
2018-09-05Pause video playback if toot is collapsed or CWs folded (fixes #146)Thibaut Girka
2018-08-27[Glitch] Add missing video descriptionsThibaut Girka
Port ac092d03e7a781d27aff9cb9ea4637be9c5f2a2a to glitch-soc
2018-08-14Slightly more aggressive video preloadingThibaut Girka
- 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-14Fix bug when clicking on video position slider before starting the videoThibaut Girka
2018-08-14Prevent default event handling when clicking on the video position sliderThibaut Girka
This prevents accidental text selection and avoids opening the toot containing the video in the dynamic column when clicking on the position slider.
2018-05-17[Glitch] Open video modal on public UIThibaut Girka
Port d9b2f84c92f24067b12be81837240bf6c8930236 to glitch-soc
2018-05-07Hide media in report modal regardless of whether they are marked sensitiveThibaut Girka
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.
2018-04-22Merge pull request #434 from ThibG/glitch-soc/fixes/public-inline-videobeatrix
Fix video player on toot public views
2018-04-20Fix video player on toot public viewsThibaut Girka
2018-04-19[Glitch] Center thumbnails on focus pointThibaut Girka
Port the display part of the following commits to glitch-soc: * 90f12f2e5a41115a9a756f9dd38054736080d4f9 * b170627ceb8838c358aef1fcca9673ce4aa61ab8 * 11697d68942db7b97a4c7384e4fb4148a97b9122 * 56eb5c3f344f0342ac6f26a05748bc21c585a729
2018-04-14[Glitch] Responsively enforce 16:9 ratio on video thumbnails in web UIThibaut Girka
Port the video-player part of 036dd98abb1fe6ae1d25ff0f3ecffe4dd9a79ea3 to glitch-soc. MediaGallery part ignored since it has diverged quite a bit. This fixes #423
2018-04-14[Glitch] Fix media button typeThibaut Girka
Port ecdac9017efceb77da155bf85d5e7d6084382da2 to glitch-soc