I have a bunch of videos that I'm am storing in a MySql database (if another database or programming language would be better please let me know) and using php to grab them and display them on a webpage. As far as I can see the best and most efficient way to store the videos is in a file on the server and then putting the location of the videos in the database. I know how to query the database to get the location, I was just wondering how I take the location and use that to format and display the video on the webpage. I was thinking of using XML or SMIL.
Could someone give me some ideas of how to do this or any better ways of doing it.
1 Replies - 632 Views - Last Post: 24 August 2012 - 01:05 PM
#1
How to grab videos from a database and display them on a webpage
Posted 24 August 2012 - 01:01 PM
Replies To: How to grab videos from a database and display them on a webpage
#2
Re: How to grab videos from a database and display them on a webpage
Posted 24 August 2012 - 01:05 PM
jfunchio, on 24 August 2012 - 04:01 PM, said:
As far as I can see the best and most efficient way to store the videos is in a file on the server and then putting the location of the videos in the database.
This is how I would do it.
jfunchio, on 24 August 2012 - 04:01 PM, said:
I know how to query the database to get the location
Write it with the name hard coded. Then replace the name with the value pulled from the database.
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote




|