Automating popup close

Q&A about the latest versions
Post Reply
LProbert
Posts: 92
Joined: Thu May 21, 2020 11:53 am

I want to run a fullscreen cinematic video at the start of my experience, and automatically close it when the video is ended. Would I inject javascript into the iFrame, and how do I target the pano object from the popup? I assume need to reference the javascript API to do this?
User avatar
Hopki
Gnome
Posts: 13029
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
Please see this post: viewtopic.php?f=6&t=14276#p60098
The thing is most browsers will not allow autostarting of media with sound.
You need to bear this in mind when making the video.
Regards,
Garden Gnome 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/
LProbert
Posts: 92
Joined: Thu May 21, 2020 11:53 am

Thank you for the response. The post you suggested I look at was for creating video sequences from the nodes. I will have a video pre-rendered, and will need to have that video play out fullscreen and then automatically close to reveal the opening node of my pano. Is this possible?
LProbert
Posts: 92
Joined: Thu May 21, 2020 11:53 am

I am looking for an answer to this too. I need to reference the `pano` object from the source code in my iframe.
LProbert
Posts: 92
Joined: Thu May 21, 2020 11:53 am

I answered my own question in another post: viewtopic.php?f=6&t=14660
Post Reply