Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Dynamic click of button

Hi,

I have 3 URls In 3 text boxes and the ask is that when i click the play button, its corresponding URL should be played in the video player.

Help on this would be highly appreciated.

Thanks

1 Solution

Accepted Solutions
alexandros17
Partner - Champion III
Partner - Champion III

Set a New variable ex. LET myVar = 0;

in each button trigger an external action and write in the upper box : myVar and in the lower 1 (in the first button, 2 in the second and so on)

When you click the play button test the variable:

If(myVar = 1, 'play song1', if(myvar = 2, ' play song2', ....)

View solution in original post

3 Replies
alexandros17
Partner - Champion III
Partner - Champion III

Set a New variable ex. LET myVar = 0;

in each button trigger an external action and write in the upper box : myVar and in the lower 1 (in the first button, 2 in the second and so on)

When you click the play button test the variable:

If(myVar = 1, 'play song1', if(myvar = 2, ' play song2', ....)

giakoum
Partner - Master II
Partner - Master II

try using this. this is a direct video player, so you need to give the video URL not the webpage

Not applicable
Author

Thanks for sharing this...will use this in future....