mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-12-18 03:27:02 -05:00
refactor: [UEPR-116] allow fullscreen of video
This commit is contained in:
parent
c18defc649
commit
17a0032170
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ export const YoutubeVideoModal = ({videoId, onClose = () => {}, className}) => {
|
||||||
height="360"
|
height="360"
|
||||||
src={`https://www.youtube.com/embed/${videoId}?rel=0&cc_load_policy=1&autoplay=1`}
|
src={`https://www.youtube.com/embed/${videoId}?rel=0&cc_load_policy=1&autoplay=1`}
|
||||||
allow="autoplay"
|
allow="autoplay"
|
||||||
|
allowFullScreen
|
||||||
/>
|
/>
|
||||||
</ReactModal>
|
</ReactModal>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue