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

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -