Click here to Skip to main content
15,880,651 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

I want to display video in website from database path.I am using <video width="320" height="240" controls></video>. Where $path is path from database..But i am getting video playing..can anyone help me..
Thanks
Posted
Comments
Killzone DeathMan 7-Feb-14 4:31am    
Whats the problem? http://www.w3schools.com/html/html5_video.asp
xyz from Bangalore 7-Feb-14 6:26am    
video is not loading..
Killzone DeathMan 7-Feb-14 7:01am    
Do you have the video uploaded? Or try with another browser..
See and try online:
http://www.w3schools.com/html/tryit.asp?filename=tryhtml5_video_all
[no name] 3-Mar-14 0:44am    
be aware of your browser that must support html5

1 solution

<video width="320" height="240" controls="">
  <source src="<?=$dbPath;?>.mp4" type="video/mp4">
Your browser does not support the video tag.
</source></video>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900