html5 mp4 video not playing -


this code :

 <video width="400" controls >      <source src="~/content/videos/light yagami's lesson on swimming.mp4" type="video/mp4">   </video> 

but video not playing in browsers. : @ picture enter image description here

in folder video exist , playes expected, it's mp4 format. why happening?

~ not valid path character.

src should contain valid url. should give correct path.

also, you're file path contain spaces not allowed. should encode it.

so filename in path be:

light%20yagami's%20lesson%20on%20swimming.mp4 

Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -