Página 1 de 1

Firma Youtube BBCode  Tema Solucionado

Publicado: 05 Jul 2009, 20:11
por oskr_nacho
Autor: Dazbobaby

Descripción: La Firma Youtube BBCode Añadir un vídeo de YouTube a tu barra de la firma
Además, si un usuario hace clic en un vídeo, se abre un cuadro que juega y código fuente.
Traducido (la drescripcion, titulo): Oskr_Nacho :chulo:
BBcode:

Código: Seleccionar todo

[ytsig]{IDENTIFIER}[/ytsig]
HTML:

Código: Seleccionar todo

    <!-- ++Begin Video Bar 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 actual videobar.
      // You can place this anywhere on your page.
      -->
      <div name="{IDENTIFIER}">
        <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
      -->
      <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 allDivs = document.getElementsByTagName('div');
       var i=0;
        var options = {
            largeResultSet : !true,
            horizontal : true,
            autoExecuteList : {
              cycleTime : GSvideoBar.CYCLE_TIME_MEDIUM,
              cycleMode : GSvideoBar.CYCLE_MODE_LINEAR,
              executeList : ["ytchannel:{IDENTIFIER}"]
            }
          }

          for (i=0; i<allDivs.length; i++){
       
             if (allDivs[i].getAttribute('name') == '{IDENTIFIER}'){
             
                videoBar = new GSvideoBar(allDivs[i],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++ -->
Linea De Ayuda:

Código: Seleccionar todo

YouTube Sig: [ytsig]Tu nombre de usuario de Youtube Aqui.[/ytsig]
Ejemplo:

Código: Seleccionar todo

[ytsig]Dazbobaby[/ytsig]
Demo:
http://www.mafiavirtual.totalh.com/view ... p?f=43&t=3

Re: Firma Youtube BBCode

Publicado: 06 Jul 2009, 18:36
por oskr_nacho
Aqui esta el demo :ops : http://www.phpbb3bbcodes.com/viewtopic.php?f=4&t=2802

Re: Firma Youtube BBCode

Publicado: 06 Feb 2010, 16:17
por mitch
BBcode Actualizado: Corregido con bbcode seguro.