Moving 'powered by" block on Horizontal Video Bar

2 views
Skip to first unread message

jwalton

unread,
Nov 28, 2007, 7:05:06 AM11/28/07
to Google AJAX API
I am using the Video Bar Ajax control, in Horizontal mode. I wish to
fit the control into a horizontal slot of limited height; i.e. the
height of the thumbnails. But the "powered by YouTube" block is
automatically inserted underneath the control. Is there any way that I
can position that block to the right of the last thumbnail?

John

jgeerdes [AJAX APIs "Guru"]

unread,
Nov 29, 2007, 2:57:04 PM11/29/07
to Google AJAX API
Actually, the video bar utilizes a table to display its results, and
the branding appears to be in the next row of that table. In other
words, you would have to do some restructuring of the underlying code
to do this, and very likely, you would get to the point where it would
just be easier to build a custom control.

Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more information or a project quote:
http://jgee...@mchsi.com
jgee...@mchsi.com

MacrostandarD

unread,
Nov 30, 2007, 3:19:24 AM11/30/07
to Google AJAX API
Why do not try to remove branding?

Save in to your site path "gsvideobar.js" and remove the lines:
----------------------------------------------------------------------------------------------------------------
this.CL_FLOATING_BRANDING = "floatingBranding_gsvb";

this.CL_BRANDINGBOX = "brandingBox_gsvb";

row = this.createTableRow(table);
var brandingOrientation;
if (this.verticalMode) {
cell = this.createTableCell(row, this.CL_RESULTCELL);
brandingOrientation = GSearch.VERTICAL_BRANDING;
} else {
cell = this.createTableCell(row, this.CL_RESULTCELL);
if (this.br_IsIE()) {
cell.setAttribute("colSpan", results.length);
} else {
cell.setAttribute("colspan", results.length);
}
brandingOrientation = GSearch.HORIZONTAL_BRANDING;
}
GSearch.getBranding(cell, brandingOrientation, "http://
www.youtube.com");
this.brandingCell = cell;
----------------------------------------------------------------------------------------------------------------

Dan N. Moldovan
http://danmoldovan.blogspot.com/

MacrosReader
http://reader.macrostandard.com/

----------------------------------------------------------------------------------------------------------------
Reply all
Reply to author
Forward
0 new messages