Am trying to play YouTube and other videos by embedding it in the HTML source for displaying them in iOS.
Both and
You are defining type="application/x-shockwave-flash"
in the object tag
but where are you defining the fallback for iOS
. If you trying to do target iOS
specifically then why not use video
tag. The documentation given in http://websitehelpers.com/video/html.html will help you to play video in iOS
For iOS
you need to define the video tag
otherwise it does not understand or you can use any one flash player like flowplayer
which has a fallback support for iOS
. You can refer the documentation from http://flash.flowplayer.org/plugins/javascript/ipad.html. Try and let me know if this solves your issue
Update :
Try the following . This works well in
desktop
and in ipad
. J_DV9b0x7v4
is the video you want to play. Check the demo from http://jsfiddle.net/AAUgG/ in iOS
. This should solve the purpose as you desired.