Skin Placeholder for hotspot-description

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
User avatar
skyfocus
Posts: 268
Joined: Sat Jun 12, 2010 10:52 am
Location: The Netherlands
Contact:

Hi,

I'm working on a tour where I want to make popups containing video's. Beside the video there has to be a title and a description in it.
I found an example skin where this is done for each popup. The title, description and link to the video are inside the skin. For all popups I have to create a separate skin element that changes the popup content.

To avoid this I want to pass this information through to the skin with the hotspot placeholders so I have to only make one Video Frame in the skin for all popups.
drawback is that when the description is longer it wont fit but I can live with that.
When I look on the placeholder page (http://ggnome.com/wiki/List_of_Placeholders) I see that there are only three placeholders that can pass through the information to the skin:

Hotspots

$hs = hotspot title - (use in a text box)
$hu = hotspot URL - (use in open next panorama Url field)
$ht = hotspot target - (use in open next panorama target field)

I can make this work with these three fields but I have to put the description which is a long text in a very small field called "link target URL". There is a bigger field called "Description:" but there is no placeholder for this field. So what I do now is place my hotspot description in the "Description: " field and copy it the the "Link Target URL" whenever I change it.

It would be nice to have a placeholder for this "Description:" field in the skin. (or a possibility to make the field bigger for better editing longer text messages)
Maybe an idea to put more fields in a hotspot to be paced into the skin with placeholders. Just three passable fields is a bit short.

regards,

Arjan
Windows 10 Pro x64, Pano2VR pro V6.1.13 , Browser latest Firefox
Website: https://www.skyfocus.nl/
User avatar
jare
Posts: 365
Joined: Thu Mar 19, 2009 1:26 pm
Location: RU/CZ
Contact:

Four years on the to-do list viewtopic.php?f=6&t=7832 :roll:
User avatar
skyfocus
Posts: 268
Joined: Sat Jun 12, 2010 10:52 am
Location: The Netherlands
Contact:

but .... not done yet :roll:
Windows 10 Pro x64, Pano2VR pro V6.1.13 , Browser latest Firefox
Website: https://www.skyfocus.nl/
User avatar
Hopki
Gnome
Posts: 13015
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Guys,
Under the documents for version 5, there is a page for placeholders.
Looking at this document look under Hotspot placeholders, $hd :roll:
The current components use this for the information hotspot popup.
So title is used for the info tile, and description is used for the body text.

Also in version 5.1 any text area that can have lots of text, example the Go To URL text field now has a small pencil icon, when clicked opens a much larger text entry field.
1.jpg
1.jpg (76 KiB) Viewed 4447 times
Regards,
Hopki
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/
User avatar
skyfocus
Posts: 268
Joined: Sat Jun 12, 2010 10:52 am
Location: The Netherlands
Contact:

Hi Hopki,

I missed the V5 placeholder page. The $hd placeholder does the trick thanks! The description field is big enough to edit.

I don't see these 'pencil' buttons in 5.1 beta is this not implemented yet in 5.1 beta ?

Image

Arjan
Windows 10 Pro x64, Pano2VR pro V6.1.13 , Browser latest Firefox
Website: https://www.skyfocus.nl/
User avatar
Hopki
Gnome
Posts: 13015
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

HI Arjan,
The pencil is in the skin editor when the text fields are very small.
Regards,
Hopki
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/
JSchrader
Posts: 141
Joined: Sat Nov 28, 2015 2:26 pm

But how does one pass the linkt to the video file from the tour editor to the skin?

Solved it myself by creative use of Link Target URL. *ARGH*
Plz, Thomas, in 5.2 you get that sorted, ok? ;-)
User avatar
Hopki
Gnome
Posts: 13015
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi JSchrader,
Why not use the video popup?
In 5.1 we have video popup elements built into the Simplex V5 skin and the Silhouette skin as well as video components.
How this works is add a hotspot, set it to Video and file, URL, YouTube or Vimeo.
1.jpg
1.jpg (35.05 KiB) Viewed 4419 times
Once selected all you have todo is is add the video from the hotspots Link Target.
So fro File:
Screen Shot 2016-11-19 at 20.48.44.png
Screen Shot 2016-11-19 at 20.48.44.png (11.47 KiB) Viewed 4419 times
Click the blue folder and select the MP4.


For URL:
Screen Shot 2016-11-19 at 20.48.55.png
Screen Shot 2016-11-19 at 20.48.55.png (9.29 KiB) Viewed 4419 times
Type in the URL, this would be for an MP4 on a server.


For YouTube and Vimeo:
Screen Shot 2016-11-19 at 20.49.08.png
Screen Shot 2016-11-19 at 20.49.08.png (10.94 KiB) Viewed 4419 times
For YouTube you just copy and paste the browsers URL or the URL of the video.
For Vimeo, you need to get the URL of the video which is under the share button and copy the link.

The Hotspot works with the skin or components in the skin. Note there are different components for each video type.
Example, ht_video_file, ht_video_url

Regards,
Hopki
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/
JSchrader
Posts: 141
Joined: Sat Nov 28, 2015 2:26 pm

That's exactly what I did.
Problem is that I used an URL hotspot and entered the local file manually.
Also for me it is confusing to use a video "file"-hotspot (while there also is a Video-URL-Hotspot) and then assign to it a file in the Link-Target-URL.
The interface would be more self-explaining if all important fields were in a more specific order.
Post Reply