Popup with image/video switcher

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
d-zimin
Posts: 30
Joined: Thu May 21, 2020 12:04 pm

Hello.

I make tour for big exhibition. Many artworks have image and video. How is it supposed to make popup with image/video switcher for that ones?
If I chose image hotspot type and set image file, I can't find a way to provide a link to video file for that hotspot as well
Attachments
exhibition.zip
(5.61 MiB) Downloaded 144 times
User avatar
Tony
Posts: 1342
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi,

In your skin set the Properties: Video: Video Source: to URL and URL; media/video_of_artwork.mp4

grab-1.jpg
grab-1.jpg (535.82 KiB) Viewed 2568 times

I tried it in your sample file and it worked fine.

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
d-zimin
Posts: 30
Joined: Thu May 21, 2020 12:04 pm

Tony wrote: Mon Jun 01, 2020 4:18 am Hi,

In your skin set the Properties: Video: Video Source: to URL and URL; media/video_of_artwork.mp4


grab-1.jpg


I tried it in your sample file and it worked fine.

Tony
Hi Tony. Thank You for answering. There are many artworks in the project and I need a way with logic blocks. It's a shame only one link be provide in Video Source with your method
User avatar
Tony
Posts: 1342
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi,
It's a shame only one link be provide in Video Source with your method
No shame, you can have multiple video clips within the single hotspot. In this clip I have 2 nodes, each node has the same Point Hotspot. In the first node the video of the Earth plays, in the second node the video of the Satellite Dishes plays.

https://p2vr.s3-ap-southeast-2.amazonaw ... index.html

To do this I've left the Properties: Video: URL: blank, in the Media folder I have the two videos.
To the video_button I've added two new Actions: Mouse Click | Set Value | media/video_of_artwork.mp4 | popup_video_file and Mouse Click | Set Value | media/receiving-satellite.mp4 | popup_video_file
For each Action I've set and Action Filter that only actions the video when it's the correct node.
So when its the first node and you click on the popup_video_file it sets the value to 'media/video_of_artwork.mp4' and plays the video, when its the second node and you click on the popup_video_file it sets the value to 'media/receiving-satellite.mp4' and plays the video

grab-5.jpg
grab-5.jpg (526.03 KiB) Viewed 2549 times

cheers,

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
d-zimin
Posts: 30
Joined: Thu May 21, 2020 12:04 pm

Thank you Tony! I've found the way. Chose video hotspot type, set video file and provide links to images files in logic block in the External image URL
Attachments
exhibition_v3.0.zip
(6.64 MiB) Downloaded 155 times
Last edited by d-zimin on Mon Jun 01, 2020 10:07 pm, edited 1 time in total.
Idocio
Posts: 52
Joined: Wed Apr 15, 2020 9:26 pm

This topic has seemed very instructive to me, since it seems to me a very interesting method that you propose.
Congratulations on the skin @d-zimin. It is very good and very worked.

Playing with it a bit, trying things out, it occurred to me to put an address of a Youtube video as the value of 'set value', but it did not work for me. I get an error message saying that the video cannot be displayed.

If I make a hotspot as YouTube video or set a file type as Youtube Video, then if it loads the video, so it is not a browser problem or another type of problem with the playback.

@Tony So, my question is, is it not possible to pass as a 'set value' a URL (video, web page, etc.)?

Thank you. a greeting
d-zimin
Posts: 30
Joined: Thu May 21, 2020 12:04 pm

Idocio wrote: Mon Jun 01, 2020 8:11 pm This topic has seemed very instructive to me, since it seems to me a very interesting method that you propose.
Congratulations on the skin @d-zimin. It is very good and very worked.
I've update my skin "exhibition-v3.0" (attached in the previous message)
Post Reply