Hi all
I simply put a webVideoPlayer on the form but nothing appear on the rendered page !!!
Could anyone tell me what's wrong with this code? i'm using VS 2017
----------------------------------------------------------------------------------------------------------------------
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %> <%@ Register assembly="Infragistics45.Web.jQuery.v17.2, Version=17.2.20172.1006, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.Web.UI.DisplayControls" tagprefix="ig" %> <%@ Register assembly="Infragistics45.Web.v17.2, Version=17.2.20172.1006, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.Web.UI" tagprefix="ig" %> <%@ Register assembly="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="System.Web.UI" tagprefix="cc1" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <link id="link1" href="ig_ui/css/themes/infragistics2012/infragistics.theme.css" rel="Stylesheet" type="text/css" /> <link id="link2" href="ig_ui/css/structure/infragistics.css" rel="Stylesheet" type="text/css" /> <form id="form1" runat="server"> <div> <ig:WebVideoPlayer ID="WebVideoPlayer1" runat="server" Height="321px" Width="529px" VolumeAutohideDelay="1500" Title="Infragistics Presentation" Volume="0.8" PosterUrl="~/App_Data/Video_List/pic.png" > <Sources> <ig:VideoPlayerSource Source="~/Video1.mp4" /> </Sources> </ig:WebVideoPlayer> </div> </form> </body> </html>
------------------------------------------------------------------------------------Thanks in advance.Best Regards.
Hello,
You need to reference jQuery and jQuery UI in order to use the WebVideoPlayer. I guess you will see an error saying the same thing in your console window.
Please, add those scripts to your page and let me know if you face any other additional issues using the control!
Best regards,Alexander Marinov
Hi
Thanks for following my case. but appearently i have already added required assembly and scripts as follow:
please help me to add those jquery reference to my page.
Kind Regards.
Did you add a reference to the jQuery and jQuery UI scripts to your page as well as the infragistics.js script? The screen shot shows that you have the jQuery files in the solution though you still need the script tags in your page. There are examples of this in the help in the WebVideoPlayer Overview.
Thank you very very much....finally i could render webVideoPlayer on my Page.
BUT after page loads , video player says "The current video sources does not contain a format that is supported by your browser." :
I'm using Google chrom Version 65.0.3325.181 (Official Build) (64-bit) and a very normal mp4 file format.
Could you please help me ?
Is this video file correctly loaded in the other browsers?
Also i tried IE and Opera browsers ....but the same issue.
You just need to remove the tilde symbol in your source. It should look like this:
<Sources> <ig:VideoPlayerSource Source="/MyData/Video1.mp4" /> </Sources>
Thanks,Alexander
Amazing......it works..........Thank you very very much.
But your solution didn't work with *.mp3 file format !!!!
The igVideoPlayer is designed to play video files. As .mp3 Is not a video format, this is not supported by the control. You can provide source files in the following formats:mov, mp4, webm, ogg
Regards, Alexander