Themeable Browser - prevent youtube video to play in background


#1

Hello, I’m using themeable browser to view web pages, and some of them have youtube videos in iframe. I’m having trouble with the video still running in the background (switch app or lock screen). Is there any configuration of the Themeable Browser or Ionic Cordova to prevent this behavior?

Web pages are under my control, if the solution is better on the page itself.

My Environment:

Ionic:

ionic (Ionic CLI): 4.3.1
Ionic Framework: Ionic-angular 3.9.2
@ ionic / app-scripts: 3.0.0

Cordova:

Cordova (Cordova CLI): 8.0.0
Cordova Platforms: android 7.0.0
Cordova Plugins: no whitelisted plugins (11 total plugins)

System:

Android SDK Tools: 26.1.1 (/ home / phpinheiro / Android / Sdk)
NodeJS: v10.1.0 (/home/linuxbrew/.linuxbrew/Cellar/node/10.1.0/bin/node)
npm: 5.6.0
OS: Linux 4.18

Plugin: cordova-plugin-themeablebrowser 0.2.17 “ThemeableBrowser”

Thanks!