0
0
Fork 0

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 2023-01-09 11:52:37 +09:00 committed by GitHub
parent 105e1f0ca6
commit 2195f21524
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

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