Page 1 of 1

Skin Placeholder for hotspot-description

Posted: Fri Nov 18, 2016 12:04 pm
by skyfocus
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

Re: Skin Placeholder for hotspot-description

Posted: Fri Nov 18, 2016 12:25 pm
by jare
Four years on the to-do list viewtopic.php?f=6&t=7832 :roll:

Re: Skin Placeholder for hotspot-description

Posted: Fri Nov 18, 2016 1:21 pm
by skyfocus
but .... not done yet :roll:

Re: Skin Placeholder for hotspot-description

Posted: Fri Nov 18, 2016 3:02 pm
by Hopki
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 4517 times
Regards,
Hopki

Re: Skin Placeholder for hotspot-description

Posted: Fri Nov 18, 2016 3:21 pm
by skyfocus
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

Re: Skin Placeholder for hotspot-description

Posted: Fri Nov 18, 2016 6:36 pm
by Hopki
HI Arjan,
The pencil is in the skin editor when the text fields are very small.
Regards,
Hopki

Re: Skin Placeholder for hotspot-description

Posted: Sat Nov 19, 2016 4:15 pm
by JSchrader
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? ;-)

Re: Skin Placeholder for hotspot-description

Posted: Sat Nov 19, 2016 10:07 pm
by Hopki
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 4489 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 4489 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 4489 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 4489 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

Re: Skin Placeholder for hotspot-description

Posted: Mon Nov 21, 2016 1:10 pm
by JSchrader
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.