diff options
author | Akira Ouchi <akkiesoft@marokun.net> | 2023-01-09 11:52:37 +0900 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2023-01-10 09:39:19 +0100 |
commit | b6a928cd04d5563ee08012b09d9e1c9f9efc9f07 (patch) | |
tree | 0e28b2b6defb324e8e3378af0a5203a6852bcc2c /app/javascript/flavours/glitch/features/ui/components | |
parent | 9765d2b3f8192ff8a8c1bc90faf5f87331a26118 (diff) |
[Glitch] Add variable autoFocus to video
Port 2195f21524270e50c00a6292f77dfe39342ff482 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/features/ui/components')
-rw-r--r-- | app/javascript/flavours/glitch/features/ui/components/video_modal.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/features/ui/components/video_modal.js b/app/javascript/flavours/glitch/features/ui/components/video_modal.js index 6b6e615a6..90be11e4b 100644 --- a/app/javascript/flavours/glitch/features/ui/components/video_modal.js +++ b/app/javascript/flavours/glitch/features/ui/components/video_modal.js @@ -50,6 +50,7 @@ export default class VideoModal extends ImmutablePureComponent { autoPlay={options.autoPlay} volume={options.defaultVolume} onCloseVideo={onClose} + autoFocus detailed alt={media.get('description')} /> |