SvenTiigi/YouTubePlayerKit

Is there any way to disable context menu?

Cyantou opened this issue · 1 comments

Is your feature request related to a problem?

When I do action long press on View. The context menu will be shown like this:
context_menu

What solution would you like?

Is there any option to disable display of that menu?

What alternatives have you considered?

I tried to using .highPriorityGesture() on outside VStack. However, gesture still trigger on to YouTubePlayerView.

Any additional context?

No response

Hi @Cyantou,

This overlay is shown and controlled by the underlying YouTube iFrame JavaScript API.
Sadly the YouTube iFrame JavaScript API doesn't provide a configuration parameter to disable this overlay menu when the user long presses the view.