Object2VR popup pictures and Video

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
User avatar
Hopki
Gnome
Posts: 8558
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Object2VR popup pictures and Video

Post by Hopki » Thu May 03, 2018 12:43 pm

Hi,
This project looks at how to add popup images and videos using point hotspots.
Of course the sizes or each element can be resized and proper graphics can be used, this was just to show the process.
The popup picture uses the external picture/SWF loader and the hotspot URL text field has the file path to the image that the external loader will use to show the picture.
Note the picture has to be copied into the output folder.
The Hotspot Template in the skin has the actions to show the elements and set the text using placeholders, in this case $hu (Hotspot URL). So when clicked the action set the text from the Hotspots URL text field to the external loader and show the picture.

For Video I have used the embed code from YouTube which is an iframe.
This time around I use a text box to display the video.
But its the same principle, the iframe is in the Hotspots URL text field and when clicked the action set the text to the text box that then displayed the video.

Note the close buttons “unload” the text by setting “blank” text thus removing paths or code.
Regards,
Hopki
Attachments
Reindeer JPG.zip
(930.86 KiB) Downloaded 38 times

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 7 guests