Hi, many formats are not supported by smartphones.
Please check this first:
http://webdesign.about.com/od/video/a/h ... ormats.htmIn the table you see that there is no format that will works for all. You even have to offer different formats to support all Windows browsers.
I have added
New 1.8.9 - iframe youtube support
Since version 1.8.9 TWG does also support the new iframe embed code of youtube where depending on the browser and the video also HTML5 videos are played. Please use the following video.php to support this. As you see the video_player is IFRAME and the video_flash_site looks a little bit different.
youtube does deliver the right content depending on your device.
New versions of JW-player (which I use in the last free version) can switch automatically but there is no free unbranded version anymore and the pro version does cost 149$/year... This player does switch between flv and mp4 depending on the device. See
http://www.jwplayer.com/media/: So mp4 for mobile devices and flv for desktops seems like a feasable solution. But to catch all you need to have MP4 (.mp4, .m4v, and .f4v file extensions), WebM, and FLV video formats.
But I'm planning to include support vor video.js in TWG 2.2 ->
http://www.videojs.com/Then you "only" have to provide all needed formats and than all devices you offer videos for should work fine.