Load webm videos correctly

This commit is contained in:
Florian Bruhin 2014-06-10 15:38:47 +02:00
parent 126a520674
commit 2a2c21e0f7

View File

@ -63,6 +63,7 @@ class BrowserPage(QWebPage):
"""
ignored_errors = [
(QWebPage.QtNetwork, QNetworkReply.OperationCanceledError),
(QWebPage.WebKit, 203), # "Loading is handled by the media engine"
]
info = sip.cast(opt, QWebPage.ErrorPageExtensionOption)
errpage = sip.cast(out, QWebPage.ErrorPageExtensionReturn)