Wednesday, September 21, 2011

[YouTube-API] Problem API Youtube "videobar" NO GET THE LAST VIDEOBAR Videos Uploaded

Hello,

I am using the Google API to show YouTube videos bar filtering by the
#mundofinanciero chanel, the problem is that I show the latest videos
uploaded, which shows are old videosThe web link is
http://www.euroamerica.cl/euroamerica/media-center.aspx
How I can display a list of videos sorted by date (date of upload on
youtube)?

here is the detail of my code: 

<%@ Control Language="C#" AutoEventWireup="true" 
CodeFile="CanalNoticias.ascx.cs" 
Inherits="Custom_Modules_MediaCenter_Frontend_Controls_CanalNoticias" 
%> 

<p runat="server" id="pHidden" style="color: #FFFFFF"></p> 
<div id="CanalYoutube"> 

  <!-- ++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 id="videoBar-bar"> 
    <span style="color:#676767;font-size:11px;margin:10px;padding: 
4px;">Cargando...</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> 

  <!-- 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"> 
    .playerInnerBox_gsvb .player_gsvb { 
      width : 320px; 
      height : 260px; 
    } 
  </style> 
  <script type="text/javascript"> 
      function LoadVideoBar() { 
          var CanalYoutube = 
document.getElementById("ctl00_ContentPrincipalHolderRight_ctl00_pHidden"); 
          var videoBar; 
          var options = { 
              largeResultSet: !false, 
              horizontal: false, 

              autoExecuteList: { 
              cycleTime: GSvideoBar.CYCLE_TIME_SHORT, 
                  cycleMode: GSvideoBar.CYCLE_MODE_LINEAR, 
                  executeList: ["ytchannel:" + "mundofinanciero"] 
              } 
          } 

          videoBar = new GSvideoBar(document.getElementById("videoBar- 
bar"), 
                              document.getElementById("videoPlayer"), 
options); 

      } 
      // arrange for this function to be called during body.onload 
      // event processing 
      GSearch.setOnLoadCallback(LoadVideoBar); 
  </script> 
<!-- ++End Video Bar Wizard Generated Code++ --> 
        <div id="estasviendo"><h2 class="type">Estas viendo:</h2></div> 
        <div id="videoPlayer"></div> 
        <div id="recomendamos"><h2 class="type">Te recomendamos</h2></div> 
        <div class="clear"></div> 
</div> 



Thanks,

Atte.,


Fernando Basaez

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.

No comments:

Post a Comment