Android Question simple exo player question

Uniko Sistemi srl

Active Member
Licensed User
Hi everyone.
I tried reading the documentation, but I can't find what I'm looking for.
I'm using SimpleExoPlayer to play videos, and everything works. I only have 2 needs: 1. to prevent the user from interacting by being able to pause or stop (this video is inside an ads that cannot be stopped)
2 being able to click on the video and redirect to a website (the click event is not present)
Can I do these things with this library or can you recommend another way?
Thank you all
 

Uniko Sistemi srl

Active Member
Licensed User
I'll add a change I made, perhaps a little crude. I put a transparent label above the player (in the designer) which inhibits user control which also allows you to have a connection. If anyone has any other ideas they are welcome Thank you
 
Upvote 0

Brian Dean

Well-Known Member
Licensed User
Longtime User
What you have done is exactly what I was typing as my answer. It is not a "crude" solution, it is really standard practice. However it is usual to use a panel rather than a label as the overlay.
 
Last edited:
Upvote 0
Top