Help! Nothing is working. I’m unable to embed video:
<iframe width="560" height="315" src="https://www.youtube.com/embed/1cYgMQSSUaw" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
I keep getting this message after trying mutiple methods of embedding…
error message 13 6. I can watch an embedded product video with id=“video”.
#video is not defined : expected null to not equal null AssertionError: #video is not defined : expected null to not equal null
one of many video instructions I followed
Your code so far
**Your browhttps://codepen.io/diane-nelson-trotter/pen/zQzPJZ) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Safari/537.36.
Link to the challenge:
If I add the appropriate id to an element other than the relevant one, I get a very similar error.
From the test error message I get…
I can watch an embedded product video with id="video".
#video should be an <iframe> or <video> element
This tells you exactly what’s missing.
I’m sorry. I thought this was for video’s other than Youtube.
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
I can watch an embedded product video with id=“video”.!! yups! go
id="video" from the section element to the iframe element.
For the last test, you can add what you have on the nav to the header as well. But you have a lot of errors in the CSS you will need to fix some of them first.
You have a style element (
<style>) in the CSS at
Head is not a valid element selector
This is not a CSS comment
<!--add for flex--> at
line 41 (
/* this is a CSS comment */)
The body selector block is not closed correctly.
You have invalid syntax for the background image
background-image: url (https://www.dropbox.com/s/hf2mw1i3fcrap3e/LittleRockcropped.jpg?dl=1
If you replace the CSS for the three selectors below with this it should pass the last test.
border: 1px solid red;
margin: 0px 50px 50px;
- Use the down arrow on the CSS code box and from the menu click “Analyze CSS”, fix any errors.
Your a boss. The solution was so simple, Thanks a lot.