I seem to have encountered an issue, I was wondering if this was a bug
or not. When you instantiate a QWebView and put it in another QWidget
the flash video is hidden. You can hear audio but no video, if you
then navigate to any other page or reload its fixed. If you remove
the parent argument you get the expected result.
Here is the code:
from PySide.QtCore import *
from PySide.QtGui import *
from PySide.QtWebKit import *
app = QApplication([])
parent = QWidget()
parent.show()
web = QWebView(parent)
web.page().settings().setAttribute(QWebSettings.PluginsEnabled, True)
web.load(QUrl("http://www.youtube.com/watch?v=sYc7c-HuGRM"))
web.show()
app.exec_()
_______________________________________________
PySide mailing list
[email protected]
http://lists.pyside.org/listinfo/pyside