I’m trying to figure out the simplest way to allow a user to change the (Vimeo) video source. To keep things clean, I’m trying to use 1 Video element and several Text elements to accomplish this, rather than multiple Video elements.
Put the video element in a group (if it’s not already in one or already in a pop-up.)
Set the type of the group/pop-up to Text
Set the Vimeo ID field in the video element to = parent group’s text.
Create a workflow for when each of those texts are clicked - your 1,2,3 texts. For example: When text 1 is clicked > display data in the group that contains the video element. Data value = the first video ID. When text 2 is clicked > value = second ID, etc.
So you’re sending the video IDs to the group and the video element just changes dynamically every time the workflow is triggered. You could have done this with custom states too, but this cuts out the need to manage a custom state and/or work with conditions.
That worked! Thanks Gaby, I hoped there would be a way without using custom states. I’ve updated my demo in case anyone needs help with this in the future. Thanks again!