Embed YouTube video HTML. Embeddng a youtube video in html is very simple. To get the html embed code, right click on the youtube video and select copy embed code. Alternatively, you can click share, embed, and copy the code from there. You can modify the width and height but make sure it maintains a 16:9 aspect ratio. Videos cannot be autoplayed unless it is muted due to a browser policy that protects users from unexpected sounds and music. To autoplay a video, simply add ?autoplay=1&mute=1 at the end of the url. Final note, youtube videos may have the embed option disabled. This is common with copyrighted content such as music, so not all youtube videos can be embedded in html.
Website: https://www.kennyyipcoding.com/
JavaScript Game Programming Projects Playlist:
https://www.youtube.com/playlist?list=PLnKe36F30Y4bLhA-st9sC4ZthyV7nsL2Q
Java Game Programming Projects Playlist:
https://www.youtube.com/playlist?list=PLnKe36F30Y4Y1XQOqNsL9Fgg_p6nYhcng
Subscribe for more coding tutorials !