What option do I have to upload .MP4 or .FLV videos?
We have a number of videos to publish in Sitefinity, but they are all .MP4 and .FLV format. The video widget only allows uploading .WMV. What options/solutions do I have available to upload and display .MP4 or .FLV? We intend to output the video using the HTML5 video tag with MP4 as the primary and a fallback to .FLV.
I'm not seeing .WMV mentioned much as an HTML5 native video format.
Example: NetTuts: HTML5 Video with a Fallback to Flash
<
video
controls>
<
source
src
=
"video.mp4"
type
=
"video/mp4"
/>
<!-- If the browser doesn't understand the <video> element, then reference a Flash file. This is from the NetTuts example -->
<
embed
src
=
"http://blip.tv/play/gcMVgcmBAgA%2Em4v"
type
=
"application/x-shockwave-flash"
width
=
"1024"
height
=
"798"
allowscriptaccess
=
"always"
allowfullscreen
=
"true"
></
embed
>
</
video
>
No suggestions but some general comments for Telerik. I don't understand why videos are limited to WMVs. Window media files won't playback on iOS devices so why make this the default instead of MP4s which play back on pretty much everything.
--Steve
Ok, so I'm going another route. I've created a new file library and uploaded my videos there. There are no restrictions on file format in the file library, but there is also no default movie player control, so I have to build that myself.
Work in progress. Now I need to figure out how to build a control that will output an item from this custom library into my HTML5 tag. I suppose this control will need a file chooser and such. I'll keep you up to date on my progress...