I am using below code to play video:
videoViewPlayer.setVideoPath(Video Path);
But if i try to play an unsuport video.
It will show the dialog "Sorry, this video can not be played"
.
I does not want to show the dialog.
How can I do it?
I am using below code to play video:
videoViewPlayer.setVideoPath(Video Path);
But if i try to play an unsuport video.
It will show the dialog "Sorry, this video can not be played"
.
I does not want to show the dialog.
How can I do it?
your video format not supported according to standard here mention : See Here
then error will be prompt as dialog to you to notify.
now according to your need you want to handle error generation dialog by yourself then you need to implement OnErrorListener. either customize dialog yaa do nothing and you want do nothing :
see Following link this must be help you: