How does pyqt5 QWebEngine play domestic videos in full screen?

questions are as follows:

  1. how to enforce the use of H5 player?
  2. what if the full screen button is invalid?

Test Code:

import sys
from PyQt5 import QtWidgets, QtGui, QtCore
from PyQt5.QtWebEngineWidgets import *

def _fullScreenRequested( request ):
    request.accept()
    w.showFullScreen()

argvs = sys.argv
-sharp flash
argvs.append("--ppapi-flash-path=./pepflashplayer.dll")

app = QtWidgets.QApplication(argvs)
w = QWebEngineView()
w.settings().setAttribute(QWebEngineSettings.PluginsEnabled, True)
w.settings().setAttribute(QWebEngineSettings.JavascriptEnabled, True)
w.settings().setAttribute(QWebEngineSettings.FullScreenSupportEnabled, True)

w.page().fullScreenRequested.connect(_fullScreenRequested)

w.load(QtCore.QUrl("https://www.bilibili.com/video/av22192941/"))
-sharp w.load(QtCore.QUrl("https://youtu.be/fAIX12F6958"))

w.show()
app.exec_()

after testing, the Youtube video can be full-screen, but the full-screen buttons of major domestic video websites are invalid
after debugging, it is found that if the website uses video.js (to determine whether the browser supports H5 or not) will lead to the use of flash playback-it is estimated that it is not friendly to QtWebEngine.-- such as bilibili

excuse me, how can I achieve full screen?

Mar.19,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37625-2c086.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37625-2c086.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?