Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
4315
Video Player displays "No compatible video source", even it's provided with proper video type
posted

Even I provide the igVideoPlayer with various video types, under Firefox on Mac it says: "No compatible video source".

Here is my configuration:

$("#player1").igVideoPlayer({
     sources: ["http://dl.infragistics.com/pg/2011-1/web/shared/videoplayer/videos/QuinceIntro_1.h264.mp4",
                    "http://dl.infragistics.com/pg/2011-1/web/shared/videoplayer/videos/QuinceIntro_1.webmvp8.webm",
                    "http://dl.infragistics.com/pg/2011-1/web/shared/videoplayer/videos/QuinceIntro_1.theora.ogv"]});

It is supposed that it will load at least the WebM or Ogv format, according to the following article.

  • 4315
    Verified Answer
    Offline posted

    This issue can be resolved by configuring the server, on which the videos are uploaded, to return the appropriate video MIME types. It seems that when the server is not configured in this way, the Content type of the response in Firefox under Mac, is not the appropriate video MIME type, therefore the video is not played. It seems that the other browsers can determine the MIME type by themselves, without any server configuration.

    To add a MIME type to the IIS server, please follow this tutorial. Note that for all the videos that you are using for igVideoPlayer, you need to ensure that they have the corresponding MIME type added to the server. For the videos above the MIME types are the following:

    • mp4 - video/mp4
    • webm - video/webm
    • ogv - video/ogg