html5 - Video not playing in HTML <video> tag -


my video plays in browser chromium or firefox when provide link follows:

http://localhost/vcenew/clients_hub/kiran_927/kiran2/outputs/vid1007.mp4

but same video not play in tag.

here code:

<video width="620" height="600" controls="">vid1007.mp4     <source src="/var/www/html/vcenew/clients_hub/kiran_927/kiran2/outputs/vid1007.mp4" type="video/mp4">your browser not support video tag.</video> 

i did read compatibilty articles says firefox , chromium supports mp4 partially. did try ogg format supported firefox , chromium both , not working.

here link read: https://developer.mozilla.org/en-us/docs/web/html/supported_media_formats

please help...

there's nothing wrong code. recommend hosting video file in several formats: h.264, ogg , webm reassure plays in modern browsers. if still have issues playback check video converters freemake video converter or handbreak.


Comments