Cannot full screen JW Player here when loading with QwebView
-
wrote on 10 May 2013, 05:12 last edited by
when load this page with a browser
http://sharev.org/video/finddataurl.action?url=http://www.56.com/w39/play_album-aid-11672378_vid-Njk3MzAyODU.html
you can play video in full screen mode ,but when I load this page with QwebView by the following code , if I double clicked the flash player ,it did play in full screen mode , but when I clicked the rightmost fullscreen button at the bottom ,it only pause the video ,no full screen ,so how to fix this problem ?@
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from PyQt4.QtWebKit import *import sys
app = QApplication(sys.argv)
view = QWebView()
view.resize(1230,760)
view.settings().setAttribute(QWebSettings.PluginsEnabled, True)
#QWebSettings.globalSettings().setAttribute(QWebSettings.PluginsEnabled, True)
view.settings().setAttribute(QWebSettings.JavascriptCanOpenWindows, True)url='http://sharev.org/video/finddataurl.action?url=http://www.56.com/w39/play_album-aid-11672378_vid-Njk3MzAyODU.html'#
view.load(QUrl(url)) #view.show()
sys.exit(app.exec_())
@
1/1