Google YouTube Videobar

By computerbar computerbar

Description

Embed a strip of YouTube videos on your on your web page and let your users watch the video channels you've selected without leaving your site.
Using [[html]] tag

Code

Go to this page and use the wizard http://www.google.com/uds/solutions/wizards/videobar.html
get the code and wrap it in [[HTML]] CODE [[/HTML]]
here is sample code with search tags "wikidot"

[[html]]
<!-- ++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;">Loading...</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>
 <style type="text/css">
 @import url("http://www.google.com/uds/css/gsearch.css");
 </style>
 <!-- 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">
 @import url("http://www.google.com/uds/solutions/videobar/gsvideobar.css");
 </style>
 <style type="text/css">
 .playerInnerBox_gsvb .player_gsvb {
 width : 320px;
 height : 260px;
 }
 </style>
 <script type="text/javascript">
 function LoadVideoBar() {
 var videoBar;
 var options = {
 largeResultSet : !true,
 horizontal : true,
 autoExecuteList : {
 cycleTime : GSvideoBar.CYCLE_TIME_MEDIUM,
 cycleMode : GSvideoBar.CYCLE_MODE_LINEAR,
 executeList : ["wikidot"]
 }
 }
 videoBar = new GSvideoBar(document.getElementById("videoBar-bar"),
 GSvideoBar.PLAYER_ROOT_FLOATING,
 options);
 }
 // arrange for this function to be called during body.onload
 // event processing
 GSearch.setOnLoadCallback(LoadVideoBar);
 </script>
<!-- ++End Video Bar Wizard Generated Code++ -->
[[/html]]

In action

[フレーム]
videobar showing wikidot related videos…


Thanks to tsangk for this great snippet: conditional-blocks


text above inserted with:

[[include :snippets:if START |unique=1|type=equal|var1=%%name%%|var2=conditional-blocks]]
**##red|Thanks to tsangk for this great snippet:##** [[[code:conditional-blocks]]]
[[include :snippets:if END]]



Other snippets posted by computerbar

Google Document - 16 Feb 2012 01:04


Rate this solution

If you think this solution is useful — rate it up!

rating: +3
tymek12 tymek12 15 Feb 2013 13:45

<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.pl/maps?hl=pl&amp;ie=UTF8&amp;ll=53.088251,18.476257&amp;spn=0.214853,0.676346&amp;t=m&amp;z=11&amp;output=embed"></iframe><br /><small><a href="https://maps.google.pl/maps?hl=pl&amp;ie=UTF8&amp;ll=53.088251,18.476257&amp;spn=0.214853,0.676346&amp;t=m&amp;z=11&amp;source=embed" style="color:#0000FF;text-align:left">Wyświetl większą mapę</a></small>

by tymek12 tymek12 , 15 Feb 2013 13:45
page revision: 3, last edited: 16 Feb 2012 01:06
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License
Click here to edit contents of this page.
Click here to toggle editing of individual sections of the page (if possible). Watch headings for an "edit" link when available.
Append content without editing the whole page source.
Check out how this page has evolved in the past.
If you want to discuss contents of this page - this is the easiest way to do it.
View and manage file attachments for this page.
A few useful tools to manage this Site.
Change the name (also URL address, possibly the category) of the page.
View wiki source for this page without editing.
View/set parent page (used for creating breadcrumbs and structured layout).

AltStyle によって変換されたページ (->オリジナル) /