InteStep 1: Download the project and find the dlls from Bin folder.
Step 2: Add DLLs o your Toolbox. Learn more details on how to add a DLL to Visual Studio Toolbox.
Step 3: Follow the code or see the attached project for more details. On this page, players are added in ASP.NET and on the code behind, they are set to play a video file.
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
  2. <%@ Register Assembly="ASPNetVideo.NET3" Namespace="ASPNetVideo" TagPrefix="ASPNetVideo" %>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml">
  5. <head id="Head1" runat="server">
  6. <title></title>
  7. </head>
  8. <body>
  9. <form id="form1" runat="server">
  10. <div style="border: medium groove #800000;">
  11. <ASPNetVideo:WindowsMedia ID="plyr1" runat="server">
  12. </ASPNetVideo:WindowsMedia>
  13. <ASPNetVideo:RealPlayer ID="RealPlayer1" runat="server" VideoURL="~/WinVideo-ASP-MultiFileUpload.wmv">
  14. </ASPNetVideo:RealPlayer>
  15. <ASPNetVideo:QuickTime ID="QuickTime1" runat="server">
  16. </ASPNetVideo:QuickTime>
  17. </div>
  18. </form>
  19. </body>
  20. </html>
  21. .CS Code
  22. using System;
  23. using System.Collections.Generic;
  24. using System.Linq;
  25. using System.Web;
  26. using System.Web.UI;
  27. using System.Web.UI.WebControls;
  28. public partial class _Default : System.Web.UI.Page
  29. {
  30. protected void Page_Load(object sender, EventArgs e)
  31. {
  32. plyr1.VideoURL = "http://localhost:3435/video/WinVideo-ASP-MultiFileUpload.wmv";
  33. RealPlayer1.VideoURL = "http://localhost:3435/video/WinVideo-ASP-MultiFileUpload.wmv";
  34. QuickTime1.VideoURL = "http://localhost:3435/video/WinVideo-ASP-MultiFileUpload.wmv";
  35. }
  36. }
Now you know how you can add these video players in your application, you can customize your app the way you like.