Action: Query: Results: Views & duration:
Player: Results:


The installation is very simple, provides super fast results, and has a wide set of features. Lets continue with some examples:

All YouTube videos about: "music video"


A YouTube playlist: Music Videos by VEVO


YouTube User videos: yvo




A simple inline YouTube video search




Installation

  • player - decide if you want to play the video on youtube.com or embed on your page:
  • display_first - display the player and queu first video results (needs player set to embed)
  • width: embed player width
  • height: embed player height
  • layout - how do you want the results to appear:
  • You use these settings by placing them in this template style 'what':'value'. Separated by a comma. This is then placed within this function ytEmbed.init({'what':'value','what2':'value2'}); surrounded by <script> tags, again an example below:

    <script>
    ytEmbed.init({'block':'youtubeDiv','type':'search','q':'baby laughing'});
    </script>

    This piece of script is added below your <div id="youtubeDiv></div>.




    yvoschaap.com