Dear Figma Community, any idea how to make this work?
My goal: having 2+ videos, which only play while the mouse hovers above and pause while not.
My plan: adding a “Mouse enter” interaction to the video, which makes the video play and a “Mouse leave” to make it pause when the mouse exits the area.
The issue: this “Mouse leave” interaction gets triggered all the time while the mouse is outside this area. Any other “Mouse leave” interaction gets ignored as long it is below in the scene graph.
Other ideas which don’t work:
- Placing areas around the video to trigger on “Mouse enter” to pause. Issue: only the most upper layer can pause a video → only one video can be paused.
- Working with “While hovering”. Issue: not working with playback. Gets even grayed out.
Are there maybe Plugins or ways to use code to make it work?
Thanks for your feedback!
