GiraffePlayer2 icon indicating copy to clipboard operation
GiraffePlayer2 copied to clipboard

Catch back button click

Open smmhub opened this issue 7 years ago • 6 comments

0011

Can we catch it ?

smmhub avatar Mar 16 '18 01:03 smmhub

current version you have to modify the source code DefaultMediaController find v.getId() == R.id.app_video_finish

tcking avatar Mar 16 '18 03:03 tcking

Thanks I modified it and removed ((Activity) videoView.getContext()).finish(); but still it closes video

smmhub avatar Mar 16 '18 11:03 smmhub

click the left icon or press back key?

tcking avatar Mar 16 '18 11:03 tcking

the left icon .

smmhub avatar Mar 16 '18 11:03 smmhub

it shouldn't,you can debug the code

tcking avatar Mar 16 '18 11:03 tcking

I added return ; and now it does not get closed

smmhub avatar Mar 16 '18 12:03 smmhub