This example page loads youtube video thumbs inside your page with the use of only one javascript file.

Video search: music video


Search

AJAX Search:

User videos: lonelygirl15


Usage

All you need is the javascript file [JS] and set your CSS (see example in this source code). And the function below to grab the videos you want.

<div id="youtubeDiv"> </div>
<script>
insertVideos('youtubeDiv','search','$searchterm','$resultsnumber','$useoverlay');
</script>

More scripts and other webmaster resources @ yvoschaap.com.