user941105
user941105

Reputation: 31

Auto play in iPad apps using HTML 5

I want too auto play the video in my iPad apps developed using HTML 5. I tried something from the net but that is not supporting in the iOS 4 and above.

Please support us in sorting ut this issue.

Thanks in advance

Upvotes: 2

Views: 662

Answers (1)

Simonini
Simonini

Reputation: 623

If you are inside a UIWebView you can try to use

webView.mediaPlaybackRequiresUserAction = false;
webView.allowsInlineMediaPlayback = true;

Upvotes: 2

Related Questions