Adding video

so i am new here and im hoping this link works. anyways im trying to add a video width and height but im so lost on how to do it.

(https://www.codecademy.com/journeys/full-stack-engineer/paths/fscj-22-web-development-foundations/tracks/fscj-22-fundamentals-of-html/modules/wdcp-22-learn-html-elements-bb06b814-30b2-4873-9450-18c0a1fa7124/lessons/intro-to-html/exercises/videos-html)

I can’t see the problem, if you want to add height and width just use their attributes in the <video> ekement

Hi there!

Welcome to the forums!

As ciario stated, height and width are added directly in the <video> tag. However, in that lesson, it gives you this HTML as an example:

<video src="myVideo.mp4" width="320" height="240" controls>
  Video not supported
</video>

Use that HTML and replace the src with the video link provided by the lesson; it should work.

1 Like