HTML5 video player is blank and GET error appears in output console -


i'm trying play video in tag on plain html page. have video in premiere have tried export both webm , mp4 (h264) located in same directory on ftp server html file. no matter codec render in, player stays blank (white) , errors appear in output console:

get errors

as can see video files in same directory on ftp server:

files on ftp server

the error has been replaced 404 error when using different presets both webm , h264. far know webm , h264 suited html5 web-players, adobe has tons of different presets, don't why has such tricky problem solve. impossible find else same problem , irritates me more.

we use azure web hosting, if there default setting prohibiting video display or similar, tell me!

[edit]: here's html code video_presentation.html:

<video width="100%" height="100%" controls>   <source src="course_introduction.webm" type="video/webm">   <source src="course_introduction.mp4" type="video/mp4">   browser not support video tag. </video> 

please help! , in advance.

try this

for multiple video clips have mentioned above, maximum html5 video browser compatibility need make 3 different versions of video. can embed multiple html5 videos web pages in html5 video element, below html5 video markup example multiple videos:

<video width="640" height="360" controls>    <source src="ftp or http://path/course_introduction.mp4" type="video/mp4" />    <source src="ftp or http://path/course_introduction.webm" type="video/webm" />    <source src="ftp or http://path/course_introduction.ogv" type="video/ogg" /> </video>  

enjoy!!!


Comments

Popular posts from this blog

ruby on rails - Permission denied @ sys_fail2 - (D:/RoR/projects/grp/public/uploads/ -

c++ - nodejs socket.io closes connection before upgrading to websocket -

java - What is the equivalent of @Value in CDI world? -