HELP ! IFRAME VIDEO PROBLEM WITH POLYGONAL HOTSPOT
Posted: Fri Oct 22, 2021 1:34 pm
Hi everyone, i have a problem with my VR project:
I created a polygonal hotspot around an object, to "highlight" it, then I created a skin that allows me to open a kind of pop-up with the click of the mouse and connected it to the hotspot.
in the description of the polygonal hotspot I inserted the code iframe
<iframe id = "inlineFrameExample"
title = "Inline Frame Example"
width = "100%"
height = "100%"
src = "materials / ENVIRONMENT 1_BACKSTAGE.mp4">
</iframe>
everything works correctly, at the click of the mouse the interface opens and the video starts, but the problem starts now: when the mouse passes over the polygonal hotspot, the audio of the video starts... when I remove the mouse from the hotspot, of course it stops.
is there a way to make sure that when the mouse cursor hovers over the hotspot, nothing happens ? but only works when the mouse is clicked?
I hope I was clear, thank you all
I created a polygonal hotspot around an object, to "highlight" it, then I created a skin that allows me to open a kind of pop-up with the click of the mouse and connected it to the hotspot.
in the description of the polygonal hotspot I inserted the code iframe
<iframe id = "inlineFrameExample"
title = "Inline Frame Example"
width = "100%"
height = "100%"
src = "materials / ENVIRONMENT 1_BACKSTAGE.mp4">
</iframe>
everything works correctly, at the click of the mouse the interface opens and the video starts, but the problem starts now: when the mouse passes over the polygonal hotspot, the audio of the video starts... when I remove the mouse from the hotspot, of course it stops.
is there a way to make sure that when the mouse cursor hovers over the hotspot, nothing happens ? but only works when the mouse is clicked?
I hope I was clear, thank you all