This FAQ is built and maintained by you, the Codecademy community – help yourself and other learners like you by contributing!
Not seeing your question? It may still have been asked before – try searching for it by clicking the spyglass icon () in the top-right of this page. Still can’t find it? Ask it below by hitting the reply button below this post ().
Question: Why are there quotation marks around the numbers 320 and 240 for width and height in the opening video tag? I removed them from the tag the code still works. Is this simply a coding convention?
Why won’t links from youtube work when I do the video exercise.
Example
</video src=“https://www.youtube.com/watch?v=WFFoMOPQxhg” width=“380” height=“400” controls>Video not supported<//video >
I want to know this as well. For instance in the video portion of the html lesson it requests that I insert a link to the url using the video tag…but it doesn’t show the text having quotation marks, but is it just a given to always use the quotation marks when they are absent?
also, I noticed that in the same video lesson the link they wanted me to insert in the video tag ended with ```
Hey there!
I tried testing the alternative text for the tag by taking a letter out of the link. Instead of replacing the video window with the text “Video not supported”, the video window is dark grey and gives no error code.
The instructions for the exercise say to wrap the video url in: . The trouble is, the “>” in the opening tag seems to be an error? The video won’t load with the tag typed as instructed:
Only by leaving OFF that second > does it load the video. So the correct instruction would have been for the opening tag to be written: <video (correct?)
If so, it would appear that there is an error in the directions.
The smaller the file, the faster it downloads, but we need to also consider full screen and HD. Ideally, 480p will be quick to download, while 720p, though slower to download will offer better resolution and image quality.
The content of the video will dictate over what level of quality to consider using at the upper end.
If you open YouTube the base size for videos is a good default.