I am creating an iPad app for running YouTube video using IFrame
.
I referred to many questions regarding YouTube integration in UIWebView
and understand that:
- Autoplay is not possible
- Apple doesn't allow to run video without user interaction (starting).
In my simple app, I have a JavaScript button in the first page, and in the next page integrated YouTube with IFrame
.
If I click on the JavaScript button, is there any way to pass this click event to the next page for running YouTube?
Is event bubbling in HTML helps this?