In the code that you obtained from the Video Bar Wizard or Programming
Guide, add the following code at the beginning of the "LoadVideoBar"
function:

  var bsc = GSvideoBar.prototype.buildSearchControl;
  GSvideoBar.prototype.buildSearchControl = function() {
    bsc.call(this);
    this.vs.setResultOrder(google.search.Search.ORDER_BY_DATE);
    this.vsBypass.setResultOrder(google.search.Search.ORDER_BY_DATE);
  }

-- omr

-- 
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-ajax-search-api?hl=en.

Reply via email to