I have a viewpager who has a fragments that displays a webview (the webview has video) The problem is: i start the video then swipe to the next fragment, the video is still playing! even when i call fragment onPasue method along with webview onpause according to this:
public void onPause()
{
super.onPause();
Log.d("onPause", "onPause");
mWebview.onPause();
}
the log print onPause but the video is still playing. What am I doing wrong?