Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3637

Embedding YTPlayerView in iOS App using YouTube-Player-iOS-Helper, is it possible to disable Long Press?

$
0
0

I want to disable the Long Press on the YTPlayerView. When long pressed, it shows a menu like this:

enter image description here

Which is something I don't want.

I tried to cover the YTPlayerView with another UIView with UILongPressGestureRecognizer. But then not only the LongPress is not detected by the YTPlayerView, all touches (eg tapping for Play/Pause) are also not detected by the YTPlayerView.

I want to only remove the Long Press Menu. Is it possible to do that?

Thanks


Viewing all articles
Browse latest Browse all 3637

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>