--force-video-overlays
What does --force-video-overlays do?
Force media player using SurfaceView instead of SurfaceTexture on Android. Note: This is used by the Cast playback pipeline and must be kept.
Usage
CLILaunch Chrome with --force-video-overlays using CLI
chrome --force-video-overlaysPuppeteerLaunch Chrome with --force-video-overlays using Puppeteer
const browser = await puppeteer.launch({
args: ['--force-video-overlays']
});PlaywrightLaunch Chrome with --force-video-overlays using Playwright
const browser = await chromium.launch({
args: ['--force-video-overlays']
});SeleniumLaunch Chrome with --force-video-overlays using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--force-video-overlays')
driver = webdriver.Chrome(options=options)