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
Is there a way to add <video> support? #154
Labels
Comments
damirkotoric
changed the title
Is there a way to add
Is there a way to add <video> support?
Apr 9, 2020
video
support?
@damirkotoric this is the source code in utils.js. If you want to support video, you can try to modify it with
export const isSupported = node => node.tagName === 'IMG' |
This was referenced May 4, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great library. I'd love to do the same effect but for
video
tags. Is there a way of doing this?I have some autoplaying screen recordings like so:
<video src="..." autoplay muted loop></video>
And it'd be great if these videos had the same zoom functionality as the rest of the images on the page. And I don't want to use GIF images because of quality.
I tried setting
data-zoomable
on thevideo
tags but that didn't do anything.The text was updated successfully, but these errors were encountered: