question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Long press on the video gives unwanted debug information and url info

See original GitHub issue

LongPress on any of the video which is in playing condition is enabling options. Can we have control, whether to display the options or not. because facebook or youtube is able to block this popup. We should also try to stop as it is exposing unwanted data to the viewer.

To Reproduce press and hold on any video tile which is in playing mode. it is opening a grey color menu with debug , video informations.

Expected behavior Need to have a flag, to hide or prevent the longpress options. Screenshots If applicable, add screenshots to help explain your problem. Android emulator and devices applicable. Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS + version: [e.g. iOS 13.5 | Android 10]
  • react-native-youtube-iframe version
  • react-native-webview version
  • Expo verison [if using expo] image

Additional context Add any other context about the problem here.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
josegiufridacommented, Dec 8, 2021

In my case the error is caused when I put iframe video inside a carousel (react-native-snap-carousel). Its works fine but when I slide and go back the iframe opens the menu automatically.

0reactions
MarufSharificommented, Oct 2, 2022

did any body find a proper solution for this problem?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to disable only long press on youtube video in react ...
Removing context menu on long-press: Wrap the YoutubePlayer in a View that has pointerEvents="none" to disable app touch-events to the player.
Read more >
Send YouTube debug information - Computer - Google Support
Go to a video watch page. Right click on the player, then select Copy debug info from the menu. To share the debug...
Read more >
Detect and get rid of unwanted sneaky mobile redirects
If you think a particular script/element is responsible for the sneaky redirect, consider removing it from your site, and debugging the issue with...
Read more >
How To Recognize, Remove, and Avoid Malware
Malware can get onto your device when you open or download attachments or files, or visit a scammy website. Your device might get...
Read more >
WebView - Android Developers
android:longClickable, Defines whether this view reacts to long click events. ... Loads the given data into this WebView using a 'data' scheme URL....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found