Last post Oct 09, 2012 09:28 PM by pratiksolanki
Oct 09, 2012 07:11 PM|pratiksolanki|LINK
I want to play .mp4 videos on asp.net. Which will only play on iPhone as I am detecting iPhone and redirect to a page which play .MP4 file.
However I don't know how to play .MP4 video file.
Appreciate your help.
Oct 09, 2012 08:25 PM|BrockAllen|LINK
But you really should also support .webm, so then your markup would be:
<source src=file.mp4 />
<source src=file.webm />
If your clients are on old browsers that don't support <video> (IE8 and prior) then you need to use a polyfill such as video for evrybody:
Oct 09, 2012 09:28 PM|pratiksolanki|LINK
This will work for me.