Core Example with ASP.NET Embedded Video & Music Player
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_DEMO" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server"> <title>ASP.NET Embedded Video Player | YouTube DEMO</title> </head>
<body> <form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager1" runat="server" /> <asp:UpdatePanel ID="UpdatePanel1" runat="server" updatemode="Conditional" > <ContentTemplate> <div> <!-- ALL CONTENT IS SHOWN FOR DEMO PURPOSE ONLY--> <asp:DropDownList ID="cmbPlaylist" runat="server" AutoPostBack="True"> <asp:ListItem Value="x_4CNvG1Q_M"> Anastasia Volochkova dancing (Adiemus) </asp:ListItem> <asp:ListItem Value="raRaxt_KM9Q"> Sound Of Silence (Masters of Chant) </asp:ListItem> <asp:ListItem Value="8qSeYLhe09s"> For Whom The Bell Tolls (Bee Gees) </asp:ListItem> </asp:DropDownList> <br /><br /> <asp:Literal ID="Literal1" runat="server"></asp:Literal> </div>
<asp:Button ID="Button1" runat="server" Text="START AT 15 SEC" onclick="Button1_Click" /> <asp:Button ID="Button2" runat="server" Text="START AT 60 SEC" onclick="Button2_Click" /> </ContentTemplate> </asp:UpdatePanel> <hr /> <h4>Initial settings: 640x505, autoplay=0</h4> <hr /> <hr /> </form> </body> </html>
|
http://videoplayer.codeplex.com/ |
\PS: Find the attachment for Code behind pages. --> Header Files.zip
following links will helpful for see the perfect scenario of various music players
You could use this control, its easy to implement
http://www.aspnetaudio.com/..... But it is a licensed control
Core code :: http://channel9.msdn.com/coding4fun/articles/Building-a-Web-Site-with-ASP-NET-20-to-Navigate-Your-Music-Library.