Youtube video autoplay on iPhone's Safari or UIWebView

Posted by Zan on Stack Overflow See other posts from Stack Overflow or by Zan
Published on 2010-06-09T23:32:09Z Indexed on 2010/06/09 23:42 UTC
Read the original article Hit count: 715

Hello,

Is it possible to get a youtube video to autoplay on Safari and/or UIWebView? I've seen this done in an iPhone app, the tableview displays cells that do not have Youtube preview icon (pretty sure it's a UIWebView Though), when you tap the cell it directly goes to video.

Could this be done by faking a tap on the youtube video? If so, how? Would getElementById().click work?

Thanks a lot

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about iphone