Page 1 of 1

V7, material_index: Videobutton inside Textbox?

Posted: Mon Jul 11, 2022 5:49 pm
by soulbrother
Hi there,
a client want to have the "open video button" (point hs: ht_video_yt) either as textlink inside a textbox (ht_info), OR as button inside this textbox.
So, is there any elegant or "easy" way to do that, with the material_index skin?

Re: V7, material_index: Videobutton inside Textbox?

Posted: Mon Jul 11, 2022 11:08 pm
by Hopki
Hi,
You can use javascript to do this, but if you can have a button that's not actually in the text box, so have a rectangle with a text box and button at the bottom, this would be far simpler to do.
Just have the action in the button to open the video element and set the video to play.