hiiiii
I used this code to embed a videoBar feeding from my YouTube channel
and it worked fine
now all what i need is to feeding the videobar from a playlist in place of the channel
_________________________________________________________________________________
_________________________________________________________________________________
This is the part what I want to modify :
cycleTime: GSvideoBar.CYCLE_TIME_MEDIUM,
cycleMode: GSvideoBar.CYCLE_MODE_LINEAR,
executeList: ["ytchannel:egyptioncoder"]
_________________________________________________________________________________
_________________________________________________________________________________
I have tried something like this:
<pre lang="Javascript"> cycleTime: GSvideoBar.CYCLE_TIME_MEDIUM,
cycleMode: GSvideoBar.CYCLE_MODE_LINEAR,
executeList: ["ytchannel:myplaylist"]
or
cycleTime: GSvideoBar.CYCLE_TIME_MEDIUM,
cycleMode: GSvideoBar.CYCLE_MODE_LINEAR,
executeList: ["ytplaylists:myplaylist"]
but it did not worked
_________________________________________________________________________________
_________________________________________________________________________________
the whole page code :
<pre lang="Javascript"><%@ Page Title="" Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="vedio2.aspx.vb" Inherits="vedio2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
<script src="http://www.google.com/uds/api?file=uds.js&v=1.0"
type="text/javascript"></script>
<link href="http://www.google.com/uds/css/gsearch.css"
rel="stylesheet" type="text/css"/>
<script src="http://www.google.com/uds/solutions/videobar/gsvideobar.js"
type="text/javascript"></script>
<link href="http://www.google.com/uds/solutions/videobar/gsvideobar.css"
<%-- ______________________________________________________________________ --%>
rel="stylesheet" type="text/css"/>
<style type="text/css">
body, table, p{
background-color: white;
font-family: Arial, sans-serif;
font-size: 13px;
}
td { vertical-align : top; }
#videoBar {
width : 150px;
margin-right: 5px;
margin-left: 5px;
padding-top : 5px;
padding-right : 4px;
padding-left : 4px;
padding-bottom : 0px;
}
</style>
<style type="text/css">
.playerInnerBox_gsvb .player_gsvb {
width : 420px;
height : 280px;
background-color:Gray;
}
</style>
<%----%>
<script type="text/javascript">
function LoadVideoBar() {
var videoBar;
var barContainer = document.getElementById("videoBar");
var options = {
largeResultSet: true,
autoExecuteList: {
cycleTime: GSvideoBar.CYCLE_TIME_MEDIUM,
cycleMode: GSvideoBar.CYCLE_MODE_LINEAR,
executeList: ["ytchannel:egyptioncoder"]
}
}
videoBar = new GSvideoBar(barContainer, GSvideoBar.PLAYER_ROOT_FLOATING, options);
}
GSearch.setOnLoadCallback(LoadVideoBar);
</script>
</head>
<%----%>
<body>
<div><br /> <br /> <br /> <br /></div>
<div id="videoBar">Loading...</div>
</body>
</asp:Content>
i hope you can help me :)