Where to find a php script like Picture of the Day but shows videos?

Discussion in 'PHP' started by CU_Designs, Nov 28, 2007.

  1. #1
    The only one I've found was http://www.calmdev.com/video-of-the-day/

    It would be real shocking if that site is the only one that offers such a script/software without having to go to some freelance site to get someone to custom make me one.

    Anyone know of any site that has one available all ready to go???
     
    CU_Designs, Nov 28, 2007 IP
  2. commandos

    commandos Notable Member

    Messages:
    3,648
    Likes Received:
    329
    Best Answers:
    0
    Trophy Points:
    280
    #2
    if u want the simple thing , just make a table where u will have 365 videos .. that you choosed... and on each day display one ... that's the easiest i can think about ..
     
    commandos, Nov 28, 2007 IP
  3. imvain2

    imvain2 Peon

    Messages:
    218
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #3
    This wouldn't be that hard to program, its just a matter of determing what your specific needs are.

    Like, are you hosting all of the videos? Are they all being pulled from youtube, google video etc...

    Commandos idea is a simple solution, that easily can take multiple fields and video sources into consideration.
     
    imvain2, Nov 28, 2007 IP
  4. CU_Designs

    CU_Designs Well-Known Member

    Messages:
    1,013
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    195
    Digital Goods:
    1
    #4
    First off thank you both for replying.

    Commandos:
    You'll need to get really elementary with me concerning this. hehe. I'm still a fresh fish (more like a guppy) when it comes to PHP and terminology involved. HTML stuff I can do. So when you mentioned tables, my mind immediately went to HTML tables. LOL. And I know that's not what you're talking about. So what do you mean create a table and how would I go about doing that? Have any tutorial you can direct me to?

    Imvain2:
    I'd rather not host the videos myself. It would be nice to pull from outside sources and use up their bandwidth -- haha. That's really all I need just to randomly play a video a day or even show a new one in intervals or something.
     
    CU_Designs, Nov 28, 2007 IP
  5. imvain2

    imvain2 Peon

    Messages:
    218
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #5
    You can use a db to store the video URLs, which is the best solution.

    However, being new to php you can implement a very basic solution where you have a basic text file and save the video urls one per line. Then use php to open the file and randomly pick one, or have 365-366 videos (366=leap year) on per line and use to php to pull out "todays" url based on the current day of the year.
     
    imvain2, Nov 28, 2007 IP