tcking / GiraffePlayer

android video player base on ijkplayer
Apache License 2.0
681 stars 199 forks source link

How Stop Definitely The Video? #58

Open TuxRneR opened 7 years ago

TuxRneR commented 7 years ago

Hello, some way to Stop Definitely the video when the video is playing?. I want to stop, not paused.

tcking commented 7 years ago

player.stop()

TuxRneR commented 7 years ago

It's working, thanks. Do you know any way, to get out the image of player when I stopped? Look, I playing a video, but when I stop definitely the image of current video playing stay here :/, I want show the player in black. Thanks

tcking commented 7 years ago

not support yet

mwshubham commented 6 years ago

Is there any way to resume the same video

tcking commented 6 years ago

call start() to resume when called pause()

mwshubham commented 6 years ago

cool i didn't check the method

private boolean isInPlaybackState() {
        return (mMediaPlayer != null &&
                mCurrentState != STATE_ERROR &&
                mCurrentState != STATE_IDLE &&
                mCurrentState != STATE_PREPARING);
    }

i thought it will not resume even in pause state. Thanks