UiWebView – Stop playing video in WebView, Navigation Controller

I have built a navigation controller to display the video related to the previous selection on the last page. This part works fine. The video is embedded in the webpage from youtube and passed through the webview Display.

The problem I have is that when I click on the navigation controller, the video ( (Sound is good) continue to play in the background. This only happens on the iPad, because the video is played in a window, while on the iPhone it is played in a new modal window.

How can I Stop this? Any help is welcome, thanks in advance.

You need to load a blank page into UIWebView to stop the audio:

[yourWebView loadHTMLString:@“”baseURL:nil];

I have built a navigation controller, in the last page The video related to the previous selection is displayed on the above. This part works fine. The video is embedded in the web page from youtube and displayed through the webview.