mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-12-17 19:12:40 -05:00
Merge pull request #9026 from MiroslavDionisiev/UEPR-116-allow-embedded-video-fullscreen
[UEPR-116] allow full screen of video
This commit is contained in:
commit
0a94339878
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