hi,
you can use silver light control for this purpose..
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CS.aspx.cs" Inherits="_Default" %>
<%@ Register Assembly="System.Web.Silverlight" Namespace="System.Web.UI.SilverlightControls"
TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>MediaPlayer Example</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:MediaPlayer ID="MediaPlayer1" runat="server" Height="240px" Width="320px"
MediaSkinSource="~/skins/Professional.xaml" MediaSource="~/files/Butterfly.wmv"
Volume="0.9">
</asp:MediaPlayer>
</div>
</form>
</body>
</html>
c# code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
MediaPlayer1.MediaSource = "~/files/Butterfly.wmv";
}
}
Look for more references:
plz i need some help[
^]
A Simple Video Player Control [
^]
Playing .wav files using C#[
^]
How to Play Videos in .NET WinForm Application using Visual C# and DirectX?[
^]
ASP.NET Embedded Video Player (YouTube™ API, C#)
video streaming with ASP.NET 2.0, IIS and HTTP handler
display video in .net ( C# with Asp.net )
Display videos in ASP.NET 2.0