Tell us what’s happening:
I am stuck uploading video …
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/68.0.3440.106 Safari/537.36.
Link to the challenge:
Learn to code. Build projects. Earn certifications.Since 2015, 40,000 graduates have gotten jobs at tech companies including Google, Apple, Amazon, and Microsoft.
You need to pass an absolute path with a link to the video file. By using only the
video.mp4 you’re telling the browser to look for the file in the same directory as your html file; since your using Codepen, that won’t work unless you use Codepen assets.
controls ="movie.mp4 is not the attribute you’re looking for. Read
This was the code i used before.
I wonder why it is not working
I’ve seen your changes.
<video controls src="www.youtube.com/watch?v=Yty2RTfdBvw" type="video/mp4"
You CAN’T use a URL from YouTube to embed the video. You must use a URL pointing to an mp4 file in your case, like:
<video src="https://domain.com/path/to/video.mp4" type="video/mp4" ... ></video>
If you want to embed a video from YouTube you will need an iframe:
<iframe width="420" height="315" src="https://www.youtube.com/embed/tgbNymZ7vqY"></iframe>
Can you please break this down for me ?
What do you mean? I think it’s all been said in my comment
Ah, OK. You just need to point to a video file through the Internet. For example, this link: