I followed this tutorial, and included a video player in my app.
But the problem is that i want to hide the controls, and be able to dismiss the video on screen touch.
I tried putting a big transparent button in front of the video that triggers the dismiss function, but with no luck. the video will always be over the button and the function will never be called.
Is there another way of doing it?
ty
I followed this tutorial , and included a video player in my app. But
Share
i just found the solution to my problem in another question asked here.
after some minor modifications, the code worked as expected. thank you all.