Back to vBulletin 3.7 Template Modifications

[G4HQ] YouTube Bar {BBCODE}
Mod Version: 1.00, by dreads

This modification is in the archives.
vB Version: 3.7.x Rating: (1 vote - 5.00 average) Installs: 5
Released: 22 Jul 2008 Last Update: Never Downloads: 2
Not Supported  

[G4HQ] YouTube Bar {BBCODE}

Not that great at explaining what it does. So here is how it looks
http://www.g4hq.com/index.php?t=6961

Basically it allows the user to have his own channel or search in a small strip or bar.

What makes this so great is that its easy to setup

Here is the bbcode layout

Title: ytube
BB Code Name: ytube
Replacement:
Code:
<!-- ++Begin BBCode ++ -->
  <!--
  // Its a google thing
  -->
  <!--
// Dont touch the codes
  -->
  <div id="videoBar-bar">
    <span style="color:#676767;font-size:11px;margin:10px;padding:4px;" <a href="http://www.g4hq.com">This BBCode was written by G4HQ Forums|Blogs|Games</a></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
  -->
  <script src="http://www.google.com/uds/api?file=uds.js&v=1.0&source=uds-vbw"
    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">
    .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_LINEAR,
          executeList : ["{param}"]
        }
      }
    videoBar = new GSvideoBar(document.getElementById("videoBar-bar"),
                              GSvideoBar.PLAYER_ROOT_FLOATING,
                              options);
    }
    // arrange for this function to be called during body.onload
    // event processing
    GSearch.setOnLoadCallback(LoadVideoBar);
  </script>
<!-- ++End Video Bar Wizard Generated Code++ -->
Example:
[ytube]runescape[/ytube]
Description:
YouTube BBCode by G4HQ
Use {option}: No

OPTIONAL
Disable BB Code Within This BB Code: Yes

http://www.g4hq.com/index.php?t=6961
http://www.g4hq.com/forumdisplay.php?f=108


Authors:
http://www.g4hq.com/member.php?u=1908
http://www.g4hq.com/member.php?u=1

Download

No files for download.

Supporters / CoAuthors

  • Stephen

Similar Mods

BB Code Enhancements YouTube BBcode vBulletin 3.7 Template Modifications
Mini Mods [G4HQ] YouRip - A Small YouTube Downloader vBulletin 3.7 Add-ons

vblts.ru supports vBulletin®, 2022-2024