HTML5 video tag always gives Invalid source -


here code:

<video width="400" controls>                               <source src="d:/lscweb/presentations/2015-04-07 ampersand.mp4" type="video/mp4">                             </video> 

but when load page "aborted" in video player. if this:

<video width="400" controls>                               <source src="d:/lscweb/presentations/2015-04-07 ampersand.mp4" type="video/mp4">                               <source src="mov_bbb.ogg" type="video/ogg">                               browser not support html5 video.                             </video> 

i "invalid source". assume it's trying mov_bbb.ogg file doesn't exist. want play first one. it's mp4. why won't play?

you can't use link references absolute windows os paths.

i suggest move video same folder html document , src="video.mp4" avoid needing use complex relative paths.


Popular posts from this blog