I am trying to configure igVideoPlayer to play local mp4 file that reside on the same server but on a different disk and are not part of the site. For example, my site is under C:\inetpub\wwwroot\Site while mp4 files I'd like to play are under D:\Videos. User running the site has access to this location. When I put full path to the file in the sources for the igVideoPlayer, I get No compatible video source message. What is the best way to handle this?
Hello Mensur ,
I’m just following up to see if you’ve been able to resolve your issue. If you have any questions or concerns or if you need further assistance please let me know.
Best Regards,
Maya Kirova
Developer Support Engineer
Infragistics, Inc.
http://www.infragistics.com/support
The error: ”No compatible video source message” in general means that either the files are not accessible or they’re in a format that the browser cannot recognize.
So make sure that:
You can access the directory in which you have the file via IIS. Note that the url to the video has to be the relative path to the file from IIS( for example: http://localhost/YourVirtualDirectory/File.mp4 ), not the absolute path to the physical location of the file on your system . If the IIS_IUSRS group cannot access the file or does not have permission to read and execute them then the files will not be properly loaded on your page. Note that the IIS_IUSRS is a different group than the “All Users” group and its permissions need to be set separately.
Make sure that the browser supports the codec used for your video files.
You can test a specific browser for compatibility with the three separate codec/container combinations using built-in functions.
For example:
var supportsH264 = $("#player1").igVideoPlayer("supports_h264_baseline_video");
var supportsOgv = $("#player1").igVideoPlayer("supports_ogg_theora_video");
var supportsWebM = $("#player1").igVideoPlayer("supports_webm_video");
In order to make this work in multiple browsers you could add multiple sources that use different file formats. If a browser can’t play a specific file format it will try with the next available source until it finds one that the browser can play or until it runs out of sources.
Let me know if you have any questions.
Developer Support Engineer II
http://es.infragistics.com/support
I am using Chrome as my browser so HTML5 video should not be a problem. The path on the server is accessible by everyone. Any other suggestions?
Thank you for posting in our forum.
In order to ensure that the files can be accessed and played in the browser:
Make sure that <YourComputerName>/IIS_IUSRS group has permissions to read&excute from that directory in order to ensure that IIS has permission for that directory .You can do that by modifying the properties of the folder. Right clicking on the folder, select Properties, select Security, click on Edit, click on add. Add Read&Execute permission for that group.
Make sure that the browser you’re using actually supports that video format. Since the igVideoPlayer uses the <video> HTML5 tag and therefore its constrained by its limitations Each browser has its own way of handling video tags and supports one or more video codecs.For a full list of which browsers support which file formats you can refer to our documentation:
http://help.infragistics.com/doc/jQuery/2014.1/CLR4.0/?page=igVideoPlayer_Working_with_HTML5_Video.html