Need Help with HTML Video Controls

hi, Ken Hudoy here. I am a beginner with html and earger to learn web dev.
I need a proper way to add controls for videos elements.
I tried adding control attribute how i saw it earlier done which is after height
<video src=“https://content.codecademy.com/courses/freelance-1/unit-1/lesson-2/htmlcss1-vid_brown-bear.mp4” width=“320” height="240"controls>

was stuck as it was giving me error.
but when i imputed the controls in-between the width and height it worked. Wonder if its the right way to add controls in html for video element. if not, how?
see the one that worked for me

seems it woeked when controls waqs added inbetween widgth and height

Be sure to leave a space character between attributes.

height="240" controls>
1 Like