By viewing the source code you can see that the author intends to add a "More Videos" features, but it's currently commented out. http://feross.net/instant/instant.js
I'd personally recommend not finishing this "More Videos" feature. I think the simplicity of just 1 video per search is awesome and creates beautiful serendipity. But, I know such a suggestion is very subjective.
Hi there Andrew, I'm the author. After reading the comments on HN and elsewhere, I'm surprised to see my hack being praised for it's simplicity. If I had more time last night, I would have implemented more features - I have a ton of ideas.
I guess it's good that I didn't. It looks like simplicity won.
Speed it up by not going through your server to get the query suggestions. You can drop the jsonp parameter and just eval the results. Or change the jsonp parameter and include it as a script tag.
<script> tags aren't subject to cross-domain restrictions. Think about it - all those website statistics scripts are hosted on external servers, but their Javascript gets executed just fine. By dynamically inserting <script> tags into the page, you can force Javascript from another domain to execute in your domain.
Now there is somebody with short hair playing guitar coming up everytime exact video search is "undefined" because he has a song called "undefined"....
Glitch with "exact search"? It used to return different results last night like best match, but now seems to be literally searching "undefined"
Maybe not great for real uses as the top hit isn't always right, but I know of several parties where this on full screen would be an instant win at least.
Rather than a link to the current video, I'd like to see a list of history.
E.g. how do I get to what I saw two videos back?
I started typing "drum video", saw something interesting as an intermediate result as I was typing, but as it processed more of my query, it had jumped to a new video before i could click.
Granted, I just retyped my query letter by letter to find what i was looking for ("dru"). But I don't know if a fixed query always bringing back a single result or if that's desired functionality vs limitation vs bug.
Someone that study computer science or something like that and told me what is the big deal about this , what is the special thing about,? it is the backend algorithm ? maybe this have porcion of I.A or Genetic Algorithm or Probabilitys metrics?? I dont know. to me this is just make a request using ajax to the db youtube and search for the most relevant search recently made (maybe 1 hour o 15 minutes i dont know) 3 hours or less look a pretty razonable time to do this,.. but maybe i'm wrong about my conception, somebody could please give an explanation about this? what's the big deal ????
Can you extend it to show other results below, too? Right now - as fun as it is - it seems more like YouTubeRoulette. (Yes, I'm in a pedantic mood today ;o) )
How do you do it,please help me built similar stuffs,I am in Silicon Valley.Email me to charlyms21@gmail.com
I am looking for like minded individuals who would like to change the world!
Strangely enough (certainly just a coincidence), but the words "mov" (lead suggestion moives) and "drumm" (which leads to drummer boy) took me to the exactly same wild west view...