Robbie Redfearn
Robbie Redfearn
Sorry, I got the wrong jsfiddle link. Here's the correct one: https://jsfiddle.net/rredfearn32/phcwa63w/56/ How about now?
Ah, but I can't use opacity:0 to hide the overlay because that blocks hover/click/touch events on the video. I need to use display: none to hide it.
Okay, I'll give that a go.. :)
Sadly, removing that parameter had no effect. I've done a workaround, which involves maintaining the overlay continuously, and then registering clicks to that to pause/play the video. This means the...
If anyone is using react-simple-maps and is struggling with this issue, the solution I found is to manually modify the data. This is based on comments on this thread (https://github.com/nvkelso/natural-earth-vector/issues/489),...