Zoomy
Zoomy copied to clipboard
Zoomy for videos - Feature request
You've got an amazing library, If you can release an update with video zoom it'd great!
Please update if it is planned in the update pipeline.
Not planned in the short-mid term cause this would require a full change on how the lib works (just making a Bitmap copy of the target).
For video Fixed. zoomy.zip
implementation project(path: ':zoomy')
private void registerZoomy(PlayerView videoPlayerView, SimpleExoPlayer player){ Zoomy.Builder builder = new Zoomy.Builder(activity) .target(videoPlayerView,player,(PlayerView) videoPlayerView) .interpolator(new OvershootInterpolator()) .tapListener(new TapListener() { @Override public void onTap(View v) { com.google.android.exoplayer2.util.Log.d("teyaar-faisal","single tap"); } }) .longPressListener(new LongPressListener() { @Override public void onLongPress(View v) {
}
}).doubleTapListener(new DoubleTapListener() {
@Override
public void onDoubleTap(View v) {
}
}).zoomListener(new ZoomListener() {
@Override
public void onViewStartedZooming(View view) {
com.google.android.exoplayer2.util.Log.d("teyaar-faisal","zoom out");
}
@Override
public void onViewEndedZooming(View view) {
com.google.android.exoplayer2.util.Log.d("teyaar-faisal","zoom dismis");
videoPlayerView.setPlayer(null);
videoPlayerView.setPlayer(player);
}
});
builder.register(Zoomy.VIDEO);
}
@faisalvv It's working fine for videos thank you , only one issue after releasing the touch and ending the zooming the video is stopped only becoming an image