seek To
Seeks to a specific position in the media.
Moves playback to the specified time position in milliseconds.
Example usage:
SurfaceView surfaceView = findViewById(R.id.surface_view);
SandboxedPlayer player = new SandboxedPlayer(context, surfaceView);
player.loadVideoSource("http://example.com/video.mp4", null);
player.seekTo(30000); // Seek to 30 seconds
Content copied to clipboard
Parameters
position
Position in milliseconds to seek to.