Home
Softono
ZoomableVideo

ZoomableVideo

Open source Java
25
Stars
9
Forks
4
Issues
1
Watchers
4 years
Last Commit

About ZoomableVideo

PinchZoom on TextureView while playing your videos

Platforms

Web Self-hosted Android

Languages

Java

Links

PinchZoom Lucem

This project implements pinch zoom on texture view on android which allows you to play a video while zooming around it in real time

Illustration

Zoomable Texture

Implementation

Add jitpack to repositories in the root build.gradle file

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}
Add the Dependancy
dependencies {
            implementation 'com.github.Lucem-Anb:ZoomableVideo:1.0.0'
    }

Usage

In XML

<com.lucemanb.zoomable.ZoomableTextureView
        android:id="@+id/textureView"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />

in Java

new ZoomableTextureView(this)

Customizations for the maximum zoom and minimum zoom

maxScale
minScale

Enjoy