Video node and text

Q&A about the latest versions
Post Reply
JSchrader
Posts: 141
Joined: Sat Nov 28, 2015 2:26 pm

I want to create a popup window with text and video.
Having a text of variable length below the video is easy.
But I need a text of variable length ABOVE the video where the video should always be placed at the same distance below the text.
Is that possible? How do I do that?
The text is read from the Description field in the editor, the URL for the video is read from the Target URL in the editor.
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Jürgen,
Text boxes will always expand top down.
It is in the bug tracker for the option to anchor it so it scales up.
You could just use scroller or use logic to reposition the text box with a tag?
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

Thank you Martin,
I think I haven't expressed my problem properly.
The textbox is fine, though reversed expanding might come handy in certain situations.

What I need is a video node (videoplayer) placed dependend on the height of a textbox.
Like positioned at fixed distance after the last line of text. No matter how many lines are in the box, as it will be autosized.

Is that more clear or shall I make pcitures?
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Jürgen,
No its clear, so the video eminent will move down as the text box expands.
Example if the video element is 10px from the bottom of the text box, if it expands down the video element will move down maintaining the 10px distance.
Will pass this on.
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

Exactly, that would be very helpful.

It will be a mandatory part of a new section of my Desy tour.
Until now I only had info-elements where the video was above the text.
Now the customer has asked for a different order.

Probably a workaround will be to place the video with html tags inside the description text, but I'd prefer to use the video node, as that allows to use it's controllers and also read the video URL from a dedicated field in the editor.
JSchrader
Posts: 141
Joined: Sat Nov 28, 2015 2:26 pm

Any updates on this matter?

I've used the workaround now with running the video inside the textbox.
What can I do to stop the video when the textbox is closed?
An action like "mouseclick/media/stop media" has no effect :(
No matter which target I choose.
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Jürgen,
You can use a set text action, blank to remove the text and video tag.
This will stop it.
The open text box action would also need a set text action to out it all back.
The target is for version 6.0.
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/
Post Reply