fixed autoplay bug
This commit is contained in:
parent
751ffb9de9
commit
fc8160acda
3 changed files with 3 additions and 4 deletions
|
|
@ -130,7 +130,7 @@ public class PlayVideoActivity extends AppCompatActivity {
|
|||
public void onPrepared(MediaPlayer mp) {
|
||||
progressBar.setVisibility(View.GONE);
|
||||
videoView.seekTo(position);
|
||||
if (position == 0) {
|
||||
if (position <= 0) {
|
||||
videoView.start();
|
||||
showUi();
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue