Hi
A company asked me to decide on how to standardize delivery of video ads to end user with maximum reach while retaining maximum simplicity in the client side code to make all their clients deliver content in the same way. For this reason, I'd just like to check what your opinions are on the matter.
To me, it seems to be a straightforward decision with no complications, but I thought I'd double check since I've only ever seen javascripted solutions for delivering video whenever I've bothered to check how others do it.
My thoughts are to require video/audio to be in H.264 / AAC as .mp4, alongside a flashplayer which can handle the same format. Since that was introduced in Flash 9 (update 3), and Safari has built in support for it, that should present no problems and enable maximum reach as far as I know.
As for simplicity of handling client side code, this ought to suffice (assuming the flash player takes the URL to the video as part of the flashvars)
<object type="application/x-shockwave-flash" data="http://example.com/flashplayer.swf" width="X" height="Y">
<param name="movie" value="http://example.com/flashplayer.swf">
<param name="flashvars" value="video=http%3A%2F%2Fexample.com%2Fvideo.mp4">
<video type="video/mp4" src="http://example.com/video.mp4" width="X" height="Y" controls></video>
</object>
Optionally with a fall-back message inside the video element.
This should presently work in Safari, FF, Chrome, IE8 & 9 as well as in iPhone and iPad. I presently have no means of testing IE7, and usually simply disregard it, but perhaps anyone here knows wether it will work in IE7 as well?