lvnkmn / Zoomy

Adds seamless scrollView and instagram like zooming to UIImageViews in any view hierarchy.
MIT License
206 stars 25 forks source link

Video Zooming #65

Open gintechsystems opened 5 years ago

gintechsystems commented 5 years ago

Would be cool to integrate the ability to zoom in and out on videos, just like Instagram does now. I was considering looking into this feature when I have time, but wanted to open the idea up for others. I haven't found anything on github yet that can do this nicely.

lvnkmn commented 5 years ago

I like the idea, however I personally don't have time to implement this. But feel free to do so when you do have the time for this.

On thing to take into consideration though is that the way Zoomy works for UIImageViews, is that it doesn't manipulate the original views (except for adding temporary gesture recognizers). Instead it adds UIImageViews on top of the original one while replicating the original views frame and image. This might not be as easy with views (or layers) containing video's as it would also be very important to keep the video of the 'fake' view in sync with the original one.

htyo commented 3 years ago

I have a project that uses your SDK, and I also need video amplification now. Looking at your source code, I don't know how to add this function. Can you tell me?

htyo commented 3 years ago

Am I going to redefine a new protocol?

gintechsystems commented 3 years ago

@htyo this feature does not exist in Zoomy already, so yes you woulld have to create it yourself and the concept is not exactly the same as images as @lvnkmn mentioned. I actually did end up figuring this out but didn't use Zoomy because of how my project was setup. It is totally possible to do zoom in effects or swiping of videos though while they continue to play. I don't have much free time right now to work on this feature for Zoomy but it can definitely be done. Just mess around and research if you are starting at a loss.

htyo commented 3 years ago

@gintechsystems I have no way to implement this feature right now. What do I have to do to implement this feature?

htyo commented 3 years ago

@gintechsystems I really need this feature right now, but I don't know how! Can you help me?