I try to use Unite Gallery for videos. I have the videos in mp4 format, what most browsers today plays without problems, but your component needs also webm and ogv formats. So
1. Why do I need webm and ogv, when mp4 is available?
2. Is there a workaround that let me only use the mp4 format?
HI. I didn\'t invented html5 players, it\'s html5 player specification. you can look in the net and find some html5 players, or just look at <video> html5 tag description. all of them needs all 3 formats.
it\'s made because different browsers plays different formats like safary in apple or mobile browsers.
what you say is partially true. Html5 <video> tag have the option to embed all three types, but you don\'t need it. Especially in these days, because of the html5-ability to play H.264 video format nativly. So code like this:
<video poster=\"/images/av/Kap09.jpg\" controls=\"controls\" preload=\"none\" > <source src=\"/images/av/Kap09.mp4\" type=\"video/mp4\"> Your browser does not support the video tag or format.</video>
is also valid and works in most browsers today (tested in: Chrome, Firefox, IE, Safari, iPad-Safari) . So insisting on all 3 formats in your component isn\'t helpfull here and should be optional.
I don\'t want to host 3-times the videos on my side and waste Gigabytes of HDD-space, only to support some very old browsers, that shouldn\'t be used anymore anyway :-) , in therms of security, etc.
in the last update you changed the behavior for adding a html video to the gallery so that we dont need to have all 3 versions (html, webm and ogg) of the video that are possible to add it. But if you now try to edit an video html item in a video gallery, then the old checks seems to prevent an edit because I will get the old error message that I need the other 2 versions (webm and ogg) of my video to save the edited item.
I try to use Unite Gallery for videos. I have the videos in mp4 format, what most browsers today plays without problems, but your component needs also webm and ogv formats. So
1. Why do I need webm and ogv, when mp4 is available?
2. Is there a workaround that let me only use the mp4 format?
regards Martin
HI. I didn\'t invented html5 players, it\'s html5 player specification. you can look in the net and find some html5 players, or just look at <video> html5 tag description. all of them needs all 3 formats.
it\'s made because different browsers plays different formats like safary in apple or mobile browsers.
Hello,
what you say is partially true. Html5 <video> tag have the option to embed all three types, but you don\'t need it. Especially in these days, because of the html5-ability to play H.264 video format nativly. So code like this:
<video poster=\"/images/av/Kap09.jpg\" controls=\"controls\" preload=\"none\" >
<source src=\"/images/av/Kap09.mp4\" type=\"video/mp4\">
Your browser does not support the video tag or format.</video>
is also valid and works in most browsers today (tested in: Chrome, Firefox, IE, Safari, iPad-Safari) . So insisting on all 3 formats in your component isn\'t helpfull here and should be optional.
I don\'t want to host 3-times the videos on my side and waste Gigabytes of HDD-space, only to support some very old browsers, that shouldn\'t be used anymore anyway :-) , in therms of security, etc.
Hi. I often see people that was complained to me that the video is not playing in some format, so I insisted for this rule. For me it\'s important.
I prefer not to change this setting.
Hello,
how about to make it optional under Advance/Expert options? Or should I go for another component?
Hello Max,
that\'s really cool. Thank you very much.
Hello Max,
thanks very much for this update. It works well, but there is a small issue:
If you try to update an html-gallery-item, then the old check seems to block the update and wants the other formats again :-)
Hello Max,
in the last update you changed the behavior for adding a html video to the gallery so that we dont need to have all 3 versions (html, webm and ogg) of the video that are possible to add it. But if you now try to edit an video html item in a video gallery, then the old checks seems to prevent an edit because I will get the old error message that I need the other 2 versions (webm and ogg) of my video to save the edited item.