Building a Product Landing Page issue with embedding video

Tell us what’s happening:
User Story #6: I can watch an embedded product video with id="video" .
When I embed a video page, the page doesn’t display

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36

Challenge: Build a Product Landing Page

Link to the challenge:

On YouTube, if you right-click there’s a “Copy Embed Code” button. Replace your <iframe> with this:

<iframe width="1190" height="669" src="https://www.youtube.com/embed/y8Yv4pnO7qc" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

Keep coding!

1 Like