Open FranciscoTavares opened 5 years ago
@FranciscoTavares, Have you found any solution for this? I got the same issue. When changed to landscape mode, video starts from beginning.
maybe you can set the orientation of your activity ?
@gohugo I don't want to restrict user to watch video in portrait / landscape mode.
Facing the same issue. When clicking the full screen it starts from the beginning.
Facing the same issue. When clicking the full screen it starts from the beginning.
Have you found the solution?
I had to use ExoPlayer and get the information from their SDK videos. I had more work but it worked.
I used the following workaround:
Inside vimeoPlayerView's addReadyListener()
method, I implemented onReady()
in the following way:
@Override
public void onReady(String title, float duration, TextTrack[] textTrackArray) {
vimeoPlayerView.seekTo(startAt);
Handler handler = new Handler(Looper.getMainLooper());
handler.postDelayed(new Runnable() {
@Override
public void run() {
vimeoPlayerView.play();
}
}, 700);
}
Apparantly, executing vimeoPlayerView.play()
after some milliseconds solves the issue.
Issue
I tested with the repository example.