I built a navigation controller, which on the last page displays a video related to the previous options. This part is working fine. The video is embedded from YouTube into a web page and displayed through web browsing.
<iframe type="text/html" id="video" width="100%" height="50%" src="http://www.youtube.com/embed/VIDEOID" frameborder="0"><br/></iframe>
The problem I encountered is when I press back through the navigation controller, the video (well, sound) continues to play in the background. This only happens on the iPad, as the video plays in a window where, like on the iPhone, it plays in a new modal window.
How can i stop this? any help is appreciated, thanks in advance.
source
share