Hello!
I am trying to display a videostream in a QWebView. But The video will not
play. As I understand I need to enable some settings to use the hardware
acceleration and or some HTML5 features. Have anyone got a snippet on how
to embed streaming video?
Best Regards,
Johan
from PySide.QtCore import QUrl
from PySide.QtWebKit import QWebView
class Browser(QWebView):
def __init__(self):
QWebView.__init__(self)
self.loadFinished.connect(self._result_available)
def _result_available(self, ok):
frame = self.page().mainFrame()
view = Browser()
view.load(QUrl('http://vimeo.com/61790668'))
view.show()
--
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/96c1508a-d4a9-4966-9584-e3188f101036%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.