Google Blogoscoped

Forum

Google Video Search Widget  (View post)

Iolaire McFadden [PersonRank 6]

Wednesday, August 30, 2006
17 years ago3,862 views

This is one of the first Google objects which you embedded in your page that doesn't give an IE warning related to your page loading trusted site content (Google).

mark lucovsky [PersonRank 1]

17 years ago #

changing from 4 to 8 requires reading. Sorry about that. If you look at the documentation for the control there is a discussion about settings and options.

To get 8 results:

   var options = {
   largeResultSet : true // valid values are true or false
   }

To get 4 results:

   var options = {
   largeResultSet : false // valid values are true or false
   }

To get 2 rows of results (variable number based on width of control)

   var options = {
   twoRowMode : true
   }

mark lucovsky [PersonRank 1]

17 years ago #

Wow! I'm very impressed! I thought this was a screen shot. Then I looked closer and saw that this is the real thing! Very cool. Great job of integration.

You should definitely use options.twoRowMode in this use case since you are running the control in a much wider region.

-markl

Philipp Lenssen [PersonRank 10]

17 years ago #

Mark, yes I tried largeResultSet : true before and it didn't work. I also tried results: 8, and it didn't work. Maybe it depends where you include it...

Niraj Sanghvi [PersonRank 10]

17 years ago #

Iolaire, strange...I am getting an error in IE when the page loads indicating there is an invalid API key being used. But then it shows up fine.

Philipp Lenssen [PersonRank 10]

17 years ago #

Updated the post as it kept crashing some Firefoxes.

Forum home

Advertisement

 
Blog  |  Forum     more >> Archive | Feed | Google's blogs | About
Advertisement

 

This site unofficially covers Google™ and more with some rights reserved. Join our forum!