android-browser-helper icon indicating copy to clipboard operation
android-browser-helper copied to clipboard

Youtube video does not stop when onPause occurs on Android only when Chrome is in PWA mode.

Open yahao87 opened this issue 4 years ago • 0 comments

Describe the bug Youtube video does not stop when onPause occurs on Android only when Chrome is in PWA mode. For this reason, websites with Youtube videos cannot pass the Play Store review for the TWA app.

In addition to https://stackoverflow.com/questions/60627847/disable-embedded-media-in-android-chrome-custom-tabs

Expected behavior Youtube stop

Video https://user-images.githubusercontent.com/10890178/150747900-6d66a9af-ccf3-4e8f-9e9f-73ca659bcbb1.mp4

Smartphone (please complete the following information):

  • Device: Galaxy10 5G
  • OS: Android11
  • Browsers Installed Chrome
  • Browser Versions 97.0.4692.98
  • android-browser-helper library version [eg: 1.1.0]

Additional context The same problem occurs even if you proceed with A2HS in Chrome. you can reproduce it here https://monstock.app/Intro

yahao87 avatar Jan 24 '22 08:01 yahao87