Hello,
i try to use the Video Control in an asp.net webform (Version 12.1, .Net 4.0). I set the video source to an local mp4 file or a mp4 file on a webserver. I can open the file in an IE9 with no problems (
http://www.freizeit-saarmoselle.eu/Videos/1_5_M__Kurzfassung.mp4
)
But the IG VideoControl load and say 'no compatible video source' i each browser i try. Any idea?
Thanks
Patric
Hi Patric,
igVideoPlayer control actually uses HTML 5 VIDEO tag under the hood. I've tried to create very simple web page with only VIDEO element in it and your video didn't play, so the problem is that your video is not encoded in the right format defined in the specification of the VIDEO element. You can look at Mark Pilgrim's "Video on the web" chapter from Dive Into HTML 5 online book to get understanding of the VIDEO element.
Now I would ask myself: "But why the browsers play the video when it's not embedded into an html page?" and the answer is that the VIDEO tag follows a specification on how the video should be encoded in order to run on many platforms, so there are restrictions (I guess that the browsers check if the video is encoded with one of the supported formats by the specification.)
My advice is to encode your video in one of the supported formats by the VIDEO element. If you manage to run it with VIDEO element, then it will also run with igVideoPlayer.
Best regards,
Martin Pavlov
Infragistics, Inc.
Hello Martin,
the original video i used was a high res quick time format (mov). I try to convert this in a smaler mp4, webm and ogv format. The tools i used to convert was 'any-video-converter' and 'FreeStudio' from DVD-Videosoft. The programms sa they convert in the right version. After your post, i try to use 'media converter' of Adobe. But the video player don't show the converted mp4 file. Why??? what tool should i use?? Any tips for the format and the resolution ?
Thanks,