here is my code
video.aspx page
<div style="float: left; width: 162px">
<marquee id="mrque1" behavior="scroll" direction="up" runat="server" scrollamount="4"
bgcolor="transparent" style="width: 596px; height: 406px"
onmouseover="this.setAttribute('scrollamount', 0, 0);" onmouseout="this.setAttribute('scrollamount', 6, 0); " enableviewstate="true">
<table>
<tr>
<td style="width: 162px">
<asp:Repeater ID="mediaPlayerRepeater" runat="server" > </asp:Repeater>
</td>
</tr>
</table>
</marquee>
</div>
<div style="float: left; width: 625px">
<table>
<tr>
<td style="width: 625px">
<cc1:Media_Player_Control ID="mdPlayer1" runat="server" Height="406px" Width="620px"
uiMode="Full" />
</td>
</tr>
</table>
</div>
video.aspx.cs
DirectoryInfo folder = new DirectoryInfo("D:/Website2/Videos/");
FileInfo[] mediaFiles = folder.GetFiles("*.wmv");
foreach (FileInfo mdFile in mediaFiles)
{
Table tbnew = new Table();
TableRow row = new TableRow();
TableCell cell = new TableCell();
cell.Text = "<OBJECT ID=Player CLASSID= CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6 VIEWASTEXT width=100 height=100>";
cell.Text += @"<PARAM name=URL value='" + mdFile.FullName + "' >";
cell.Text += @"<PARAM name=rate value=1>";
cell.Text += @"<PARAM name=balance value=0>";
cell.Text += @"<PARAM name=enabled value=True>";
cell.Text += @"<PARAM name=uiMode value=none>";
cell.Text += @"<PARAM name=enabledContextMenu value=True>";
cell.Text += @"<PARAM name=fullScreen value=False>";
cell.Text += @"<PARAM name=playCount value=1>";
cell.Text += @"<PARAM name=volume value=100>";
cell.Text += @"</OBJECT>";
row.Cells.Add(cell);
tbnew.Rows.Add(row);
mediaPlayerRepeater.Controls.Add(tbnew);