Quote:
	
	
		| 
					Originally Posted by sortie  Not bad if what I read is correct that you can "select" the vids.
 I would use it.
 | 
	
 yup . i wrote a simple simple php script so you can call it in an iframe
you can use this but theres an api key inside the script that needs to be tied to your google account so really you gotta create the code yourself to get you api id and paste it into the code
save the following as video.php
	Code:
	
  <div id="videoBar-player">
    <span style="color:#676767;font-size:11px;margin:10px;padding:4px;">Loading...</span>
  </div>
  <div id="videoBar-bar">
    <span style="color:#676767;font-size:11px;margin:10px;padding:4px;">Loading...</span>
  </div>
  <script src="http://www.google.com/uds/api?file=uds.js&v=1.0&source=uds-vbw&key=ABQIAAAAknCvFk8QZxxo8EHuv-xLwxTa1UwxoKEMhcPZA-Lftw1nKyY0phQrGaElC-XuEMdZrBowjIMxO4nIsg"
    type="text/javascript"></script>
  <style type="text/css">
    @import url("http://www.google.com/uds/css/gsearch.css");
  </style>
  <!-- Video Bar Code and Stylesheet -->
  <script type="text/javascript">
    window._uds_vbw_donotrepair = true;
  </script>
  <script src="http://www.google.com/uds/solutions/videobar/gsvideobar.js?mode=new"
    type="text/javascript"></script>
  <style type="text/css">
    @import url("http://www.google.com/uds/solutions/videobar/gsvideobar.css");
  </style>
  <style type="text/css">
    #videoBar-player .playerInnerBox_gsvb .player_gsvb {
      width : 320px;
      height : 260px;
    }
  </style>
  <script type="text/javascript">
    function LoadVideoBar() {
    var videoBar;
    var options = {
        largeResultSet : !true,
        horizontal : true,
        autoExecuteList : {
          cycleTime : GSvideoBar.CYCLE_TIME_MEDIUM,
          cycleMode : GSvideoBar.CYCLE_MODE_RANDOM,
          executeList : ["<?php echo $kw; ?>"]
        }
      }
    videoBar = new GSvideoBar(document.getElementById("videoBar-bar"),
                              document.getElementById("videoBar-player"),
                              options);
    }
    // arrange for this function to be called during body.onload
    // event processing
    GSearch.setOnLoadCallback(LoadVideoBar);
  </script>
 then simply call the page like video.php?kw=YOUR+KEYWORDS