[bbcodet]Descripción:[/bbcodet] Con este bbcode puedes poner una pequeña barra de vídeos en tu firma on en un comentario
[bbcodet]Autor(es)/o Enlace:[/bbcodet] cisco007
código de aqui! http://www.google.com/uds/solutions/wiz ... eobar.html
Pedido?: no
[i_i][bbcodet]Uso BBcode:[/bbcodet]
Code: Select all
[sigyt]{IDENTIFIER}[/sigyt]
[i_i][bbcodet]Reemplazo HTML:[/bbcodet]
Code: Select all
<!-- ++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++ -->
[i_i][bbcodet]Línea de ayuda:[/bbcodet]
Code: Select all
[sigyt]nombre de tu usuario en youtube[/sigyt]
[i_i][bbcodet]Ejemplo:[/bbcodet]
Code: Select all
[sigyt]ciscoa007[/sigyt]
[bbcodet]Notas:[/bbcodet]
esto es bueno por si tienes pocos vídeos, pero si tienes muchos y quieres que se vean nada mas los mas vistos haz esto:
[findcode]Buscar Esto puede ser un encuentro parcial y no toda la línea
Code: Select all
executeList : ["ytchannel:{IDENTIFIER}"]
Code: Select all
executeList : ["ytfeed:most_viewed.this_week","ytchannel:{IDENTIFIER}"]
[bbcodet]Mas Notas:[/bbcodet]
si vas al enlace de el código no se encuentra nada pero el bbcode todavía funciona.
[bbcodet]DEMO:[/bbcodet]
[sigyt]ciscoa007[/sigyt]