Add variable autoFocus to video (#15281) (#22778)

* add variable autoFocus to video
* set autoFocus in video_modal.js
This commit is contained in:
Akira Ouchi authored and GitHub committed 2023-01-09 03:52:37 +01:00
1 parent 105e1f0ca6
commit 2195f21524
2 files changed
+4 -2

No files matched your search

@@ -46,6 +46,7 @@ export default class VideoModal extends ImmutablePureComponent {
autoPlay={options.autoPlay}
volume={options.defaultVolume}
onCloseVideo={onClose}
autoFocus
detailed
alt={media.get('description')}
/>