<div style="margin:0px 0px 0px 0px;" class="grid_16 example" align="center">
                    <asp:DataList ID="DataList1" runat="server" BorderStyle="Groove" 
                        CellPadding="5" CellSpacing="5" RepeatColumns="3" RepeatDirection="Horizontal">
                        <ItemTemplate>
                        <ul>
                        <li>
                     <object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="328" height="200"> 
		<param name="movie" value="vplayer/player.swf" /> 
		<param name="allowfullscreen" value="true" /> 
		<param name="allowscriptaccess" value="always" /> 
		<%--<param name="flashvars" value="file=<%# Eval("vurl","video/swf/{0}") %>&image=<%# Eval("vpurl","video/thumb/{0}") %>" /> --%>
       

		<embed 
			type="application/x-shockwave-flash"
			id="player2"
			name="player2"
			src="vplayer/player.swf" 
			width="328" 
			height="200"
			allowscriptaccess="always" 
			allowfullscreen="true"
			flashvars="file=<%# Eval("vurl","video/swf/{0}") %>&image=<%# Eval("vpurl","video/thumb/{0}") %>" 
		/> 
	</object> 
                            <br />
                            <asp:Label ID="Label2" runat="server" Text=<%# Eval("vurl","{0}") %>></asp:Label>
                          </li>
                            <asp:Label ID="Label3" runat="server" Text=<%# Eval("uploadedby","Uploaded By:-{0}") %>></asp:Label>
                                </ul>
                          </ItemTemplate> 
                        
                        
                    </asp:DataList>
                </div>

VURL=K:\newweb457\newweb\Video\SWF\how.swf
vpurl=K:\newweb457\newweb\Video\Thumb\how.jpg
Am i doing something wrong.The player is not playing video and neither it is displaying any thumbnail.I tried it in IE,opera.
I am using jwplayer.
This is working in html

<object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="328" height="200"> 
		<param name="movie" value="player.swf" /> 
		<param name="allowfullscreen" value="true" /> 
		<param name="allowscriptaccess" value="always" /> 
		<param name="flashvars" value="file=how1.swf&image=how.1.jpg" /> 
		<embed 
			type="application/x-shockwave-flash"
			id="player2"
			name="player2"
			src="player.swf" 
			width="328" 
			height="200"
			allowscriptaccess="always" 
			allowfullscreen="true"
			flashvars="file=how1.swf&image=how.1.jpg"" 
		/> 
	</object>

please help me this is urgent.

Hey, try this one...

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" style="width: 307px; height: 316px">
                                    <param name="movie" value="anime1.swf" />
                                    <param name="quality" value="high" />
                                    <embed src="anime1.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"
                                        type="application/x-shockwave-flash" width="200" height="300"></embed>
                                </object>

Simpliy use dreamweaver by insert media option and save it,after that open .aspx file in Visual studio.

I solved it .

flashvars="file=../how1.swf&image=how.1.jpg"

But thanks for replys.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.