I tried this <video> element and it doesn't seem to be working conpletely. Sound is working, but the video is not showing. I've placed this element inside a <td>. Does that affect its functionality? <table><tr><td> <video controls> <source src="*.mp4" type="video/mp4"> Note and comment text... </video></td></tr></table> | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

I tried this <video> element and it doesn't seem to be working conpletely. Sound is working, but the video is not showing. I've placed this element inside a <td>. Does that affect its functionality? <table><tr><td> <video controls> <source src="*.mp4" type="video/mp4"> Note and comment text... </video></td></tr></table>

19th Aug 2016, 6:46 AM
Earl Hapal
Earl Hapal - avatar
4 Answers
+ 6
try this <video controls> <source src="*.mp4" type="video/mp4"> <source src="*.ogg" type="video/ogg"> Video is not supported by your browser </video>
19th Aug 2016, 1:08 PM
prince choudhary
prince choudhary - avatar
+ 5
you have not defined any height and width to your video tag
19th Aug 2016, 12:11 PM
shadow1435
+ 2
Thanks for the response. I've tried your suggestions and it is still not working. So, I tried replacing the video file with a different video file, and then it worked. I was thinking, even if the video file uses an mp4 extension (or *.ogg, *.webm), if the composition of the video file is incompatible, then it will not play as expected. A person working on such files (video/audio) can probably verify this for us.
19th Aug 2016, 2:57 PM
Earl Hapal
Earl Hapal - avatar
+ 1
you may be having problem with the video format I guess...
13th Sep 2016, 10:24 AM
Adewale Adewumi
Adewale Adewumi - avatar