Youtube Search Mycode Request
#1
This user has been denied support. This user has been denied support.
Description: Adds some videos with a youtube search bar where you can search for videos within you own post without leaving the site and watch them there also!
COde From Here:
http://www.google.com/uds/solutions/wiza...earch.html
Reply
#2
This user has been denied support. This user has been denied support.
look like this in the index board


Attached Files Thumbnail(s)
       
Reply
#3
This user has been denied support. This user has been denied support.
i figured how to do it for phpbb and like i said so i dont know nothing about mybb coding anyone to provide this for mybb..code for phpbb look like this an works like charm

[ytsearch][/ytsearch]

HTML replacement:

<!-- ++Begin Video Search Control Wizard Generated Code++ -->
  <!--
  // Created with a Google AJAX Search Wizard
  // http://code.google.com/apis/ajaxsearch/wizards.html
  -->

  <!--
  // The Following div element will end up holding the Video Search Control.
  // You can place this anywhere on your page.
  -->
  <div id="videoControl">
    <span style="color:#676767;font-size:11px;margin:10px;padding:4px;">Loading...</span>
  </div>

  <!-- Ajax Search Api and Stylesheet
  // Note: If you are already using the AJAX Search API, then do not include it
  //       or its stylesheet again
  //
  // The Key Embedded in the following script tag is designed to work with
  // the following site:
  // http://ADD LINK TO YOUR SITE HERE!
  -->
  <script src="http://www.google.com/uds/api?file=uds.js&v=1.0&source=uds-vsw&key=YOUR_OWN_API_KEY"
    type="text/javascript"></script>
  <style type="text/css">
    @import url("http://www.google.com/uds/css/gsearch.css");
  </style>

  <!-- Video Search Control and Stylesheet -->
  <script type="text/javascript">
    window._uds_vsw_donotrepair = true;
  </script>
  <script src="http://www.google.com/uds/solutions/videosearch/gsvideosearch.js?mode=new"
    type="text/javascript"></script>
  <style type="text/css">
    @import url("http://www.google.com/uds/solutions/videosearch/gsvideosearch.css");
  </style>

  <script type="text/javascript">
    function LoadVideoSearchControl() {
      var options = {
        twoRowMode : true
      };
      var videoSearch = new GSvideoSearchControl(
                              document.getElementById("videoControl"),
                              [{ query : "blue angels"}, { query : "vw gti"}, { query : "osborne lights"}, { query : "tv ads"}], null, null, options);
    }
    // arrange for this function to be called during body.onload
    // event processing
    GSearch.setOnLoadCallback(LoadVideoSearchControl);
  </script>
<!-- --End Video Search Control Wizard Generated Code-- -->

Helpline:
[ytsearch][/ytsearch]

if you want to change these initial search words:
blueangels vwgti osbornelights tvads

change them here!
[{ query : "blue angels"}, { query : "vw gti"}, { query : "osborne lights"}, { query : "tv ads"}]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)