Sir,
this is aadi kumar , i am developing one web sie in that i am using Essential Objects controls.
i am using eo:Slide control
i want to display media player inside the <BigItemTemplate>
but i am getting some javascript error
this is my code
<%@ Register TagPrefix="eo" Namespace="EO.Web" Assembly="EO.Web" %>
<%@ Register Assembly="System.Web.Silverlight" Namespace="System.Web.UI.SilverlightControls" TagPrefix="asp" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Demo.aspx.cs" Inherits="Demos_Slide_IE_Effect___with_Thumbnails_Demo" %>
<asp:Content ID="Content1" ContentPlaceHolderID="demo" Runat="Server">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<style type="text/css">
.slide_big_item_panel
{
border-top: solid 1px #dbe1e6;
border-left: solid 1px #dbe1e6;
border-right: solid 1px #dbe1e6;
padding: 2px 4px 2px 4px;
}
.slide_small_item_panel
{
background-image: url('../images/small_item_bg.gif');
background-repeat: repeat-x;
border-left: solid 1px #dbe1e6;
border-right: solid 1px #dbe1e6;
cursor: pointer;
cursor: hand;
}
.slide_nav_panel
{
background-color: #f9fafa;
padding: 3px 5px 3px 5px;
border: solid 1px #dbe1e6;
}
.slide_small_item a
{
color: #16387c;
text-decoration:none;
}
.slide_small_item_hover
{
background-image: url('../images/small_item_bgh.gif');
color: White;
}
.slide_small_item_hover a
{
color: White;
text-decoration:underline;
}
.slide_item_number
{
font-family: Arial;
font-size: 12px;
color: #6c717a;
}
</style>
<p>
This sample is based on the <a href="javascript:GoToDemo('ie_basic_slide')">IE Effect - Basic Slide</a>
sample. Please make sure you go over that sample first. <b>SmallItemTemplate</b> is being used
in this sample to add the small item list.
</p>
<eo:Slide runat="server" ID="Slide1" NavPanelStyle="slide_nav_panel" ItemNumberStyle="slide_item_number"
BigItemWidth="392" BigItemHeight="220" BigItemPanelStyle="slide_big_item_panel"
SmallItemHeight="91" SmallItemWidth="100" SmallItemPanelStyle="slide_small_item_panel"
SmallItemStyle="slide_small_item" SmallItemHoverStyle="slide_small_item_hover"
IEEffect="progid:DXImageTransform.Microsoft.Fade(duration=0.5,overlap=0.5)">
<BigItemTemplate> <div>
// for Media player
<asp:MediaPlayer ID="MediaPlayer1" runat="server"
MediaSkinSource="~/MediaPlayerSkins/Classic.xaml" MediaSource="~/2.wmv"
PlaceholderSource="~/IMG1644A.JPG" Height="50%" />
<img src='<%#ResolveUrl(Eval("image").ToString())%>' alt="" />
</div>
<div style="padding: 5px 5px 0px 5px; background-color:White;">
<p style="font-family: Arial; font-size: 17px; color: #16387c; font-weight: bold">
<%#Eval("title")%>
</p>
<p style="font-family: Arial; font-size: 13px; color: #333">
<%#Eval("summary")%> <a href="http://www.essentialobjects.com">More...</a>
</p>
</div>
</BigItemTemplate>
<SmallItemTemplate>
<div style="padding: 15px 3px 3px 3px; text-align: center">
<div style="border: solid 1px #c5ced7; padding: 2px; background-color:White; width:82px;">
<img src='<%#ResolveUrl(Eval("thumbnail").ToString())%>' />
</div>
<p>
<a href="http://www.essentialobjects.com"><%#Eval("link_text")%></a>
</p>
</div>
</SmallItemTemplate>
</eo:Slide>
</asp:Content>
please help me to run the video inside the Slide