publiclab / Leaflet.DistortableImage

A Leaflet extension to distort or "rubber sheet" images
https://publiclab.github.io/Leaflet.DistortableImage/examples/
BSD 2-Clause "Simplified" License
270 stars 284 forks source link

Distortion of video overlays (not a priority but fun) #645

Open jywarren opened 4 years ago

jywarren commented 4 years ago

I noticed that it's possible to do video overlays:

https://leafletjs.com/examples/video-overlay/

I wonder if it's possible to substitute videoOverlay on the following line?

https://github.com/publiclab/Leaflet.DistortableImage/blob/6d2f73023500b03eb39881b252edb30f108d8eab/src/DistortableImageOverlay.js#L1

vanithaak commented 1 year ago

Hi Jeff, I think only adding VideoOverlay woudn't work, we'll need videos in place of example.jpg (Though I tried doing this, got errors, haha). Since we are using old version of this plugin, it's not able to identify VideoOverlay, this is what I understand from the errors I get 😅