ExoPlayer and start / pause / seekTo commands

The official example of the PlayerControl in the ExoPlayer source code do exactly what you asked: public class PlayerControl implements MediaPlayerControl { private final ExoPlayer exoPlayer; public PlayerControl(ExoPlayer exoPlayer) { this.exoPlayer = exoPlayer; } @Override public boolean canPause() { return true; } @Override public boolean canSeekBackward() { return true; } @Override public boolean canSeekForward() { … Read more

how to create custom UI for android MediaController

I had the same problem on a recent project and ended up creating a custom implementation based on the stock MediaController. It adds a fullscreen button at the far right, but even if that’s not what you want this class should be a good starting point. Code: VideoControllerView.java – http://pastebin.com/1V63aVSg media_controller.xml – http://pastebin.com/rS4xqMej Image resources: … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)