-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Video support? #10
Comments
Hi, no it doesn't support, I don't even see any use cases for video galleries. |
@chrizuuu I changed your code to support any components. types.ts: GalleryPreview.tsx:
GalleryItem.tsx:
Example:
if u agree i can send a pull request |
Ok, fine but for now I'm more inclined to simply make a separate component for such cas to not spoil the current interface. In the future maybe I'll somehow combine it into one component. I'll try to figure it out over the weekend |
Sorry for the slight delay but managed to add a new version with support for any components 1.3.0 To use the new component just add the type='children' parameter to the main gallery component. This will change the interface and required parameters: 'images' to 'children'. Example below. The API for the main component has not changed.
This is still a development version so I am open if there are any problems. |
Thanks @chrizuuu |
Simulator.Screen.Recording.-.iPhone.16.Pro.-.2024-10-29.at.14.15.10.mp4video controls doesn't works |
@ameer-taghavi At this point, the only solution I have is to add a props that will block this func but then the header in the preview will be permanently visible or permanently hidden. |
can we have a prop to disable/enable gestures? |
I tested the disabled prop, but it didn’t quite work as I initially expected. For now, I don’t have much time to dive deeper into this since I have other higher-priority tasks to focus on. However, I’d be happy to review and accept a PR if someone wants to implement this functionality. |
Does this package support videos?
The text was updated successfully, but these errors were encountered: