jaymc Posted November 6, 2008 Share Posted November 6, 2008 Im using youtube api to embed searches within my side A cool feature I want is when a user starts typing their search in the box, a list appears below it with suggestions Any idea how to achieve this? Link to comment https://forums.phpfreaks.com/topic/131590-solved-youtube-search/ Share on other sites More sharing options...
ILMV Posted November 6, 2008 Share Posted November 6, 2008 You mean like Google Suggest? http://slashdot.org/comments.pl?sid=132312&cid=11053245 Read this^, obviously the use of JavaScript and a hidden div may be required. Google Suggest doesn't run a search whenever a user types something in, it is more likely they are interrogating a pre-populated list of popular searches. Just adapt this for YouTube searches, for example, I expect RickRoll will be at the top ILMV Link to comment https://forums.phpfreaks.com/topic/131590-solved-youtube-search/#findComment-683521 Share on other sites More sharing options...
jaymc Posted November 6, 2008 Author Share Posted November 6, 2008 Yeh Cool! Link to comment https://forums.phpfreaks.com/topic/131590-solved-youtube-search/#findComment-683602 Share on other sites More sharing options...
jaymc Posted November 7, 2008 Author Share Posted November 7, 2008 Can you actually just link it to se google lookups Im not talking about it quering my own database, I want a search box on my website to display relivent suggestions using googles "Google Suggest" system Any idea how? Link to comment https://forums.phpfreaks.com/topic/131590-solved-youtube-search/#findComment-684935 Share on other sites More sharing options...
Daniel0 Posted November 8, 2008 Share Posted November 8, 2008 You could try to see if you can query the same API that they use themselves. Link to comment https://forums.phpfreaks.com/topic/131590-solved-youtube-search/#findComment-685188 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.