2012-03-31, 08:41 PM
How to implement in post any ideas??
see here: http://www.daniweb.com/web-development/j...e-videobar
look like this (see picture) when you add in side box plugin.Added youtube video with change content options and also you can search direct from your site any youtube video and watch it.But need way to implemen this code in the post.
this is code who add inside sidebox plugin:
and second ones:
so any help to implement this in threads and post
see here: http://www.daniweb.com/web-development/j...e-videobar
look like this (see picture) when you add in side box plugin.Added youtube video with change content options and also you can search direct from your site any youtube video and watch it.But need way to implemen this code in the post.
this is code who add inside sidebox plugin:
<!-- ++Begin Video Search Control 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 Video Search Control.
// You can place this anywhere on your page.
-->
<div id="videoControl">
<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
//
// The Key Embedded in the following script tag is designed to work with
// the following site:
// http://example.com/
-->
<script src="http://www.google.com/uds/api?file=uds.js&v=1.0&source=uds-vsw&key=ABQIAAAAXDPI0juG7PAEHszxIWYQkhTmxnCVP_fW3N1At__0Z0AkgYrSRBRHbanhl4xNR3Ep_08o0NavlsYo2A"
type="text/javascript"></script>
<style type="text/css">
@import url("http://www.google.com/uds/css/gsearch.css");
</style>
<!-- Video Search Control and Stylesheet -->
<script type="text/javascript">
window._uds_vsw_donotrepair = true;
</script>
<script src="http://www.google.com/uds/solutions/videosearch/gsvideosearch.js?mode=new"
type="text/javascript"></script>
<style type="text/css">
@import url("http://www.google.com/uds/solutions/videosearch/gsvideosearch.css");
</style>
<script type="text/javascript">
function LoadVideoSearchControl() {
var options = {
twoRowMode : true
};
var videoSearch = new GSvideoSearchControl(
document.getElementById("videoControl"),
[{ query : "Tunguska"}, { query : "Japan Earthquake"}, { query : "Chemtrails"}, { query : "Illuminati"}, { query : "Codex Alimentarius"},{ query : "Unit 731"},{ query : "Oak Island"},{query : "Baian Kara Ula"},{query : "H.A.A.R.P."},{query : "Gobekli Tepe"}], null, null, options);
}
// arrange for this function to be called during body.onload
// event processing
GSearch.setOnLoadCallback(LoadVideoSearchControl);
</script>
<!-- --End Video Search Control Wizard Generated Code-- -->
and second ones:
<!-- ++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 : ["giant spaceship in sun","Area 51","Vril","Nazi UFO Secrets","HAARP","The Philadelphia Experiment & Montauk Project"]
}
}
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++ -->
so any help to implement this in threads and post