Problems with video sound in iFrames

Q&A about the latest versions
Post Reply
moxben
Posts: 1
Joined: Tue Oct 06, 2020 3:45 pm

Wed Oct 07, 2020 10:42 am

Dear p2vr community,

I've got a small, but a little bit annoying problem:

I open a ht_url hotspot with iFrame activated.
The displayed website contains a video element, which I play.
If i close the iFrame - and didn't pause the video - sound goes on until the video ends.

Has anyone of you got an idea on how to avoid this issue?

Thanks in advance and all the best from Austria,
moxben
User avatar
Hopki
Gnome
Posts: 10748
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Fri Oct 09, 2020 5:11 pm

Hi moxben,
You need to "unload" the iframe and load it again when needed.

As an example, a button to open would have two actions,
So starting with an empty text box element, the first action is the set the value which would add the iframe to the text box.
The second action would be to show the text box.

The Close Button would have two actions.
One to hide the text box.
The other is also a Set Value Actions but set "blank" so you are removing the iframe from the textbox.
No iframe, no sound.
Regards,
Hopki
Garden Gnome Software Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply