Hello there,
I have a question I am looking for the solution to and am struggling to find an answer for. It involves turning on and off audio via blueprints but via two separate widget blueprints. Perhaps there is an easier way to set this up.
Ok when I am in the main game I press P to pause the virtual run-through and it brings up a widget with three icons. The middle icon represented by a camera brings me to a new widget UI using the following blueprint…
The intention here is to change to a new widget that has a button that plays a media texture - a video - while playing sound in sync with it.
So now I have clicked this button the video plays fine and the audio plays with it. There is a return button in the corner, and here I believe lies the problem and where the solution should be implmented. I want to stop the audio of the file that has been playing along with the video when the return button is pressed. Currently the blueprint for the return button looks like this…
Here the intention is go back to the main paused widget, taking away the video and stopping the audio that plays with it.
I have used audio components and the likes but I may not be savvy enough in this area as of yet. Could anyone put me in the right direction with this?