Pinned video close/remove possible?

Q&A about the latest versions
Post Reply
DeeJay58
Posts: 9
Joined: Mon Jun 01, 2020 10:53 am
Location: Graz/AUT

Mon Nov 09, 2020 10:25 am

Hi everyone!

I would like to add some autoplaying pinned videos (not just a pop-up, it should be on a special place) in my tour BUT it also should disappear again somehow because I also want do show the real view. Is there a way to do this with pinned videos? If not, how would you recommend to solve this?

Thank you!
SMerriss
Posts: 25
Joined: Mon Sep 28, 2020 2:12 pm
Location: Columbus Ohio

Mon Nov 09, 2020 5:50 pm

Hey DeeJay,

Were you wanting to have the video take up your entire screen as a popup either when a node is entered or after pressing a button, or be embedded within the panorama and when it is completed it will disappear to show the entire panorama?

The way to do both of them are very different so it is important to know exactly what you are trying to accomplish.

-Spencer
DeeJay58
Posts: 9
Joined: Mon Jun 01, 2020 10:53 am
Location: Graz/AUT

Tue Nov 10, 2020 9:58 am

Hi Spencer!

Thank you for your answer!
"or be embedded within the panorama and when it is completed it will disappear to show the entire panorama?" <-- This

I want the video to be played "in" a window of a house. And when it is completed it should disappear or even better the user can close it every time by clicking it or a button.

I just don't have an idea how to do that...

Mario
SMerriss
Posts: 25
Joined: Mon Sep 28, 2020 2:12 pm
Location: Columbus Ohio

Tue Nov 10, 2020 4:25 pm

Hey Mario,

I believe this is possible, but I do not have a straightforward answer or an easy to follow map to give you at the moment.

Once I have some free time today I'll create a really basic template showing how to do it for you to then mimic for your own project.

Sorry for the delay.

-Spencer
SMerriss
Posts: 25
Joined: Mon Sep 28, 2020 2:12 pm
Location: Columbus Ohio

Tue Nov 10, 2020 7:30 pm

Hey Mario,

Here are the files for closing an embedded video in a panorama.

I simplified the the skin to its bare bones so you can best see how it is working.

Basically, with having an embedded video, you'll want to give it an "ID", for my file I set it as 'video1'

In the skin I did a few things. First was to set a variable to let the close box know when to be active and when to close. This variable is named 'videoplay'. If the variable is true, the box will be visible, if the variable is false, the box will be invisible.

For the box itself, I added two actions. The first action is a "Mouse Click" is to set the variable 'videoplay' to false since we are closing the embedded video (video1). When the video is not visible, the close box is not visible.

The other action is a "Mouse Click" that has the setting of:
Action: Media
Type: Visibility Media
Mode: Hide
Transition Time: 0
Target: 'video1'

This is where the "ID" of the embedded video is used to tell it to go away.

Again this is a super simplified version of what you are looking for, so if you would like more details for more specific actions either post them here or send me an email.

If this helps please let me know.

-Spencer
Attachments
Close Embedded Video.zip
(7.67 MiB) Downloaded 9 times
Post Reply