I am developing an android app in which i have to load a web page and then play a movie clip from it in a customized web view. I have done almost every thing there and even movie is played in web view. But problem is that when we play it once it does not play again. Even when same link is accessed via android standard browser it works fine. But in customized web view video only played once. Any body please tell me that why is that happening and also how to over come this issue as my app is just in finish line. Thanks:
Asked
Active
Viewed 467 times
1
-
try using frame layout and adding the webview to it. http://stackoverflow.com/a/8011027/1220586 – Droid Diva Feb 20 '13 at 07:50
1 Answers
-1
try
@Override
public void onPrepared(MediaPlayer mp) {
// TODO Auto-generated method stub
mCustomViewCallback.onCustomViewHidden();
}
In your WebChromeClient.

Methuz Kaewsai-kao
- 1,176
- 2
- 10
- 22