1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need Help With Dynamic Insertion of YouTube Videos

Discussion in 'General Programming Chat' started by joelcommisafag, Feb 3, 2009.

  1. joelcommisafag

    joelcommisafag Newbie

    Joined:
    Nov 25, 2007
    Messages:
    32
    Likes Received:
    22
    Occupation:
    Ninja Marketer
    Location:
    SFO
    I have a small div area of my site for videos (300x250), or something. I'd like to figure out how to have a video dynamically pulled from YouTube based on the keyword that the user searched on.

    ie: so if they searched for "britney spears", the php code would run, query youtube, and pull some random video of britney spears.

    I'm sure this has been done before, but I'm no programmer so I'm kinda stuck. Also, this is a static site, not a Wordpress plug so I cant use plugins.

    Please help! thanks