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,
I converted your video with Miro Video Converter and it worked. You can see the difference in codecs information between your initial video and the one converted with Miro in the attached image.
i used the miro converter to and there was only one configuration for mp4, that i used. What tool do you use fpr the file information? My PC is running Windows 7 64 bit. I try the converter on Vista. I also used HandBrake, same result. Any tips how i can convert in the right format?
For the file information I used VLC Media Player (Tools ->Codec Information).
For your convenience I've uploaded the video I converted to the Dropbox and you can download it from here.
Attached you can find sample page with igVideoPlayer which is playing the video I shared on Dropbox.
Note: Tell me when you download the video, so I can delete it.
UPDATE: I also didn't make it work on Safari.
following i sent you a link to my Dropbox with the original video (https://www.dropbox.com/s/1o6498njcsbp7ie/Kurzfassung.mov).
Could you try to convert the video with a resolution of 640 x 480 and with audio in the format mp4, webm and ogv? I'm under pressure in the project and none of my converter seems to work. And i have no idea what's the problem.
Thanks for help.
Hello Patric,
Please let us know if you need any further assistance regarding this matter.
Yes, there is a problem with the IIS default configuration. You should add the videos MIME types to the IIS MIME Types configuration. In the following picture you can see the MIME time you should add to your IIS configuration.
Patric said: Btw, in your sample you use the 'igButton'. Is there any documentation for the use of this class, it's properties, events and so on?
Btw, in your sample you use the 'igButton'. Is there any documentation for the use of this class, it's properties, events and so on?
igButton is not documented, because we didn’t include it as part of our jQuery toolset(we use it internally into our controls or as part of our samples). However nothing can stop you from using it. You can see how to use it from our samples.
Patric said: Additional question; as you see on my page, i use the 'bookmarks'-Array. But how can i hide the 'Skip to' frame in the Video Player?
Additional question; as you see on my page, i use the 'bookmarks'-Array. But how can i hide the 'Skip to' frame in the Video Player?
Attached you can find a sample which hides the "Skip to" section from the Video Player. It is nothing more than two CSS rules:
with your help i can make a running sample:
http://www.freizeit-saarmoselle.eu/video_neu/video_2.htm
But i must place the video on my DropBox! I f i use my IIS, the page prompt the error with the wrong source format! Any idea what to do by the IIS (I set the Mime Types, but something went wrong). So i think it is a problem with IIS and not with the conversion.
It seems that the relative Urls to the videos are wrong. The following line doesn't contain valid Urls:
sources: ["~/Kurzfassung_x264.mp4", "~/Kurzfassung_x264.theora.ogv", "~/Kurzfassung_x264.webmvp8.webm"],
The correct sources definition should look like this:
sources: ["Kurzfassung_x264.mp4", "Kurzfassung_x264.theora.ogv", "Kurzfassung_x264.webmvp8.webm"],
OR
sources: ["./Kurzfassung_x264.mp4", "./Kurzfassung_x264.theora.ogv", "./Kurzfassung_x264.webmvp8.webm"],
Try it and tell me if it works.
i load the video files to my Dropbox and inserted the links in your programm and it works!
http://www.freizeit-saarmoselle.eu/videos/igVideoPlayer_4.html
So there is something wrong with my IIS. But there is also something wrong with my local IE and Firefox and the installed codec base. I mean, i used the same converter as you, and in Miro is no way to set some wrong parameters. So if i find the reasons for this trouble i write my own cookbook of do's and don't. I try to load the files on an other Webserver, may be the newer version are too sensible and block too much. Do you have any ideas?
Thanks again for your support,