.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Video implimantation

Posted By: Aamrapali Tamgadge     Posted Date: March 24, 2011    Points:5   Category :ASP.Net
Hi M using the video implimentation using the following code it is working properly but now i have to show the video through database so dat the admin can upload the video and user can see it.. how can i do this my previous source code without database is as follw pls can anyone help me out its argent..


<form id="form1" runat="server">
<div id="content">
<h1>ASPNetFlashVideo Demo - Custom Interface</h1>

<asp:ScriptManager ID="ScriptManager1" runat="server" />

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<table><tr>
<td class="style1"><ASPNetFlashVideo:FlashVideo ID="FlashVideo1" runat="server">
<HTMLAlternativeTemplate>
<asp:ImageButton ID="ImageButtonGetFlashPlayer" runat="server" PostBackUrl="http://www.adobe.com/go/getflashplayer" ImageUrl="http://www.aspnetflashvideo.com/images/get_flash_player.gif" />
</HTMLAlternativeTemplate>
</ASPNetFlashVideo:FlashVideo></td>

<td class="style2">


<ASPNetMediaGUI:PlayList ID="PlayList1" runat="server" AutoGenerateColumns="False"
ShowHeader="False" BackColor="#DEBA84" BorderColor="#DEBA84"
BorderStyle="None" BorderWidth="1px" CellPadding="3"
DataSourceID="DefaultPlayList" MediaPlayer="FlashVideo1" SelectedTrack="1"
CellSpacing="2" PlayState="Play">
<Columns>
<asp:TemplateField ShowHeader="False">
<itemtemplate>
<asp:LinkButton ID="TrackSelectButton" runat="server" CausesValidation="False" CommandName="Select" Text='<%# Eval("TrackNumber")+". "+Eval("Name") %>'></asp:LinkButton>
</itemtemplate>
</asp:TemplateField>
</Columns>
<FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
<HeaderStyle BackColor="#F9C57C" Font-Bold="True" ForeColor="White" />
<PlayListTracks>
<ASPNetMediaGUI:PlayListTrack Name="Steve Jobs">~/YouTube - Tumse Milkar Na Jaane Kyun -- Pyar Jhukta Nahi [Son & Mother].flv</ASPNetMediaGUI:PlayListTrack>
<ASPNetMediaGUI:PlayListTrack Name="Bill Gates">~/YouTube - tera mujhse hai pahle ka nata koi-aa gale lag ja.flv</ASPNetMediaGUI:PlayListTrack>
</PlayListTracks>
<SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
<RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
</ASPNetMediaGUI:PlayList>


&nbsp;&nbsp;<br /></td>
</tr>
<tr><td class="style1"><br />
Duration:
<ASPNetMediaGUI:MediaLabel ID="MediaLabel1" runat="server" LabelType="Duration" AssociatedControl="FlashVideo1"></ASPNetMediaGUI:MediaLabel><br />
Position:
<ASPNetMediaGUI:MediaLabel ID="MediaLabel2" runat="server" AssociatedControl="FlashVideo1"></ASPNetMediaGUI:MediaLabel><br />
Volume:
<ASPNetMediaGUI:MediaLabel ID="MediaLabel3" runat="server" LabelType="Volume" AssociatedControl="FlashVideo1"></ASPNetMediaGUI:MediaLabel>
:<div>
<br />
<ASPNetMediaGUI:PlayButton ID="PlayButton1" runat="server"
ButtonType="RolloverImage" ImageUrl="~/icons/play.gif"
RolloverImageUrl="~/icons/play_blue.gif" AssociatedControl="FlashVideo1"
ToolTip="Play"></ASPNetMediaGUI:PlayButton>
<ASPNetMediaGUI:PauseButton ID="PauseButton1" runat="server"
ButtonType="RolloverImage" ImageUrl="~/icons/pause.gif"
RolloverImageUrl="~/icons/pause_blue.gif" AssociatedControl="FlashVideo1"
ToolTip="Pause"></ASPNetMediaGUI:PauseButton>
<ASPNetMediaGUI:StopButton ID="StopButton1" runat="server"
ButtonType="RolloverImage" ImageUrl="~/icons/stop.gif"
RolloverImageUrl="~/icons/stop_blue.gif" AssociatedControl="FlashVideo1"
ToolTip="Stop"></ASPNetMediaGUI:StopButton>
<ASPNetMediaGUI:VolumeUpButton ID="VolumeUpButton1" runat="server" Text="+"
ButtonType="RolloverImage" ImageUrl="~/icons/plus.gif"
RolloverImageUrl="~/icons/plus_blue.gif" AssociatedControl="FlashVideo1"
ToolTip="+"></ASPNetMediaGUI:VolumeUpButton>
<ASPNetMediaGUI:VolumeDownButton ID="VolumeDownButton1" runat="server" Text="-"
ButtonType="RolloverImage" ImageUrl="~/icons/minus.gif"
RolloverImageUrl="~/icons/minus_blue.gif" AssociatedControl="FlashVideo1"
ToolTip="-"></ASPNetMediaGUI:VolumeDownButton>
<ASPNetMediaGUI:FastReverseButton ID="FastReverseButton1" runat="server"
ButtonType="RolloverImage" ImageUrl="~/icons/rw.gif"
RolloverImageUrl="~/icons/rw_blue.gif" AssociatedControl="FlashVideo1"
ToolTip="Fast Reverse"></ASPNetMediaGUI:FastReverseButton>
<ASPNetMediaGUI:FastForwardButton ID="FastForwardButton1" runat="server"
ButtonType="RolloverImage" ImageUrl="~/icons/ff.gif"
RolloverImageUrl="~/icons/ff_blue.gif" AssociatedControl="FlashVideo1"
ToolTip="Fast Reverse"></ASPNetMediaGUI:FastForwardButton>
<br />
</div>
</td>
</tr>
<tr>
<td align="center" class="style1">


</td>
</tr>
<tr>
<td align="center" class="style1">

<ASPNetMediaGUI:PreviousTrackButton ID="PreviousTrackButton1" runat="server" AssociatedControl="PlayList1"
Text="Prev Track" BackColor="#FF9900" Font-Bold="True" ForeColor="White"></ASPNetMediaGUI:PreviousTrackButton>
&nbsp;&nbsp;&nbsp;
<ASPNetMediaGUI:NextTrackButton ID="NextTrackButton1" runat="server"
AssociatedControl="PlayList1" BackColor="#FF9900" Font-Bold="True"
ForeColor="White">
</ASPNetMediaGUI:NextTrackButton>
<br />

</td>
<td class="style2"> <br /></td>
</td>
</tr></table>
</ContentTemplate>
</asp:UpdatePanel>
</div>
</form>


Responses
Author: Karthikeyan Anbarasan       [Moderator]      
Posted Date: March 24, 2011     Points: 20   


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend