How do I fade in/out a video using buttons?
I have a series of buttons on a frame. Each button “should” change the source of a video component, fade it up, and then when it’s completed, fade it down. The code I have below is a simplified version, where I have two buttons. Currently, the code almost does what I need it to do. It fades up the video, it changes sources, etc. However, when a button is clicked, on the next click of it or any other button, the video fades up, then disappears. I suspect that the opacity is going from 0 to 1 and then crashing back to 0. I am, regrettably, not sure how to fix the issue. The code follows: