Load webm videos correctly
This commit is contained in:
parent
126a520674
commit
2a2c21e0f7
@ -63,6 +63,7 @@ class BrowserPage(QWebPage):
|
|||||||
"""
|
"""
|
||||||
ignored_errors = [
|
ignored_errors = [
|
||||||
(QWebPage.QtNetwork, QNetworkReply.OperationCanceledError),
|
(QWebPage.QtNetwork, QNetworkReply.OperationCanceledError),
|
||||||
|
(QWebPage.WebKit, 203), # "Loading is handled by the media engine"
|
||||||
]
|
]
|
||||||
info = sip.cast(opt, QWebPage.ErrorPageExtensionOption)
|
info = sip.cast(opt, QWebPage.ErrorPageExtensionOption)
|
||||||
errpage = sip.cast(out, QWebPage.ErrorPageExtensionReturn)
|
errpage = sip.cast(out, QWebPage.ErrorPageExtensionReturn)
|
||||||
|
Loading…
Reference in New Issue
Block a user