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

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/810035b7-5486-490e-9222-224cdbb0c060%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to