jquery - My HTML5 Video not working in ipad -


i trying load jquery created video tag page following code:

var viddiv = vpjquery("#videoholder"); var vidcontrol = vpjquery("<video></video>"); vidcontrol.attr("width", "512"); vidcontrol.attr("height","288"); vidcontrol.attr("controls","controls"); vidcontrol.attr("id","vidcontrol"); var vidsource = vpjquery("<source />"); vidsource.attr("src", vidurl); vidsource.attr("type", "video/mp4"); vidcontrol.append(vidsource); viddiv.empty(); viddiv.append(vidcontrol); vpjquery("#vidcontrol > source").attr("src", vidurl); var vidplayer = vpjquery("#vidcontrol").get(0); vidplayer.load(); vidplayer.play(); 

vidurl mp4 path hosted amazon. works fine in desktop web kit , iphone sim, not ipad sim! play icon line through on ipad, ideas?

make sure file format supply supported ipad. guide: http://www.robwalshonline.com/posts/tutorial-serving-html5-video-cross-browser-including-ipad/


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -