QWebSettings.PluginsEnabled ?

60 views
Skip to first unread message

kevco...@gmail.com

unread,
Dec 21, 2014, 6:31:10 PM12/21/14
to python_in...@googlegroups.com
Hey guys,

I'm doing a few tests with QWebViews, and eventually I'm gonna need to display websites with either flash or html5.

In the docs, it says to set PluginsEnabled to True. What am I doing wrong here?

the window loads the page, but it eventually complains about flash

#==============================
from PySide import QtGui, QtCore
from PySide.QtWebKit import QWebView, QWebSettings

url = QtCore.QUrl( 'http://www.grooveshark.com' )

webView = QWebView()
webView.settings().setAttribute( QWebSettings.PluginsEnabled, True )
webView.load( url )

webView.show()
#=========================


Thanks,
Kev

kevco...@gmail.com

unread,
Dec 21, 2014, 7:11:31 PM12/21/14
to python_in...@googlegroups.com, kevco...@gmail.com
oh noooo's. I should try installing flash first next time. haha
Reply all
Reply to author
Forward
0 new messages