trigger event according to seekbar

Jun 09, 2020

hi

I have a video I want to play pause with a button (stop/resume timeline) when tapping on the screen in addition to having the default seekbar in the scene.

 

seekbar works, tapping the screen works too.

but how can sync those both so when I pause via seekbar and then tap the screen i wont "double stop" the app but marely resume it?

3 Replies
Vincent Scoma

Hi Nir,

Thank you for reaching out! 

To make sure I am on the same page, are you wanting to apply a custom button that allows you to play and pause a video? If so, you can create this setup using a custom button that works as a toggle or use a layer to pause and resume the video. You can find more details on this different community setups here: 

I hope this helps point you in the right direction, and please let us know if you have any questions! 

Kevin Nolty

I'm having the same issue as Nir. I've created a Pause Layer, but I am still using (and want to use) the SeekBar as well. The issue is synching both the Pause Layer and the Seekbar (play/pause) buttons.  Whichever I click first (Pause Layer button or SeekBar button) works, but the other button (Pause Layer button or SeekBar button) is not synched with the other button, which causes me to "double-click" the other button to get it to work. I hope this is clear as mud. I appreciate any help.