html video tag (some mp4 videos work, some not)

931 views Asked by At

I am using this:

<video class="video" controls="" width="100%" src="videopath/videoname.mp4"></video> 

for some mp4 videos to work on my website. I used this for 3 videos, all of them being mp4, but only one of them is working, the others are not found, in Google Chrome I get a black player with no video, in Internet explorer I get something as "invalid path or file format". What can be the cause of this?

1

There are 1 answers

1
user2118245 On

You should check the resolution of the videos which are not being played and the one which is played. If the resolution is too high and the video box is small the videos are not played.