Need Help With Dynamic Insertion of YouTube Videos

Status
Not open for further replies.

blackhorse

MasterlessSamurai.com
Mar 24, 2007
114
2
0
Global Resident
masterlesssamurai.com
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
 


Well...

I posted a link to a blog that explains how to do exactly what you want, but my post never showed up, so I guess it was thought to be spam or something.

Just search google for: embed youtube video by keyword

It comes up number one.
 
Status
Not open for further replies.