PierfrancescoSoffritti / android-youtube-player

YouTube Player library for Android and Chromecast, stable and customizable.
https://pierfrancescosoffritti.github.io/android-youtube-player/
MIT License
3.4k stars 758 forks source link

IFramePlayer requires 3 taps to pause a video #694

Open luciferz111 opened 3 years ago

luciferz111 commented 3 years ago

I am integrating the IFramePlayer Options Youtube player and disabled the webview controls. I have observed this weird issue which requires 3 taps to pause a video. The issue also exists in the sample apk of the library. Can you please help me out with a workaround or a fix for this ?

Steps to reproduce:

  1. Open the sample app
  2. Go to the IFrame Player Options Example
  3. Observe the video will start auto playing
  4. Allow the player to settle and hide the title and youtube branding logo
  5. Try to pause a video
  6. The First tap brings up the title and youtube branding logo
  7. The second tap does nothing
  8. Third tap pauses the video
PierfrancescoSoffritti commented 3 years ago

Interesting, just by looking at it in the sample app this seems like an bug on YouTube's side.