You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 the video tags but that didn't do anything.
The text was updated successfully, but these errors were encountered:
damirkotoric
changed the title
Is there a way to add video support?
Is there a way to add <video> support?
Apr 9, 2020
@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' || node.tagName === 'VIDEO'
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: