Hi All,
really sorry if I'm using a sledge hammer to crack a walnut!
I'm trying to get some you tube videos on my site and have found the
example code of:
<script type="text/javascript">
function LoadVideoSearch() {
// establish default tags
var defaultTags = [
{ query : "big wave surfing", label : "surfing" },
{ query : "blue angels" },
{ query : "jessica simpson", label : "jessica" },
{ query : "vw gti" },
{ query : "tv ads" },
{ query : "paris hilton" }
];
// request twoRowMode
var options = {
twoRowMode : true
};
// create a new GSvideoSearchControl
new GSvideoSearchControl(document.getElementById("videosc"),
defaultTags, null, null, options);
}
/**
* Arrange for LoadVideoSearch to run once the page loads.
*/
GSearch.setOnLoadCallback(LoadVideoSearch);
</script>
Now Ideally I would like it to generate a new search and come up with
new videos each time the user starts the web page, but it is currently
displaying the same videos each time. Does anyone know what to change
to get new videos?
Sorry I am a complete begineer in all of this and I must confess I'm
stumbling around!
Any help would be most appreciated!
Cheers!
Terry
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---