<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;">Dnia Saturday 14 March 2009, Michael Howell napisaƂ:<br>
&gt; On Saturday 14 March 2009 11:34:08 Jakub Stachowski wrote:<br>
&gt; &gt; Hello,<br>
&gt; &gt;<br>
&gt; &gt; Currently plugin factory contains workaround for flash (returning<br>
&gt; &gt; QWebView instead of 0). What bug does it exactly works around?<br>
&gt; &gt; If it is video player embedded from youtube showing just controls but no<br>
&gt; &gt; video (testcase: http://www.webscription.net/s-108-david-weber.aspx )<br>
&gt; &gt; then attached patch contains alternative solution.<br>
&gt; &gt; The problem is that QNetworkManager (and maybe flash plugin) expects to<br>
&gt; &gt; handle redirects itself, but KIO internally fetches destination URL<br>
&gt; &gt; instead. The patch makes KNetworkReply emit finish()  and kill the KIO<br>
&gt; &gt; job upon redirect.<br>
&gt;<br>
&gt; QtWebKit tries to use KWebPluginFactory for _all_ plug-in requests, even if<br>
&gt; the actual plug-in was not advertised by KWebPluginFactory, but is supposed<br>
&gt; to be used internally by QtWebKit's built-in Flash support.<br>
&gt;<br>
&gt; I wish I knew how to pass the options to the new QWebView, which would fix<br>
&gt; YouTube.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>OK, but why not simply return 0? In this case QtWebKit tries built-in support for netscape plugins. It makes webkitkde more crashy, but then again even with QWebView workaround it crashes whenever it likes.<br>
I know that QWebView is workaround but what is actual bug being worked around? Crashing? Not showing movie on youtube? Something else?<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Even nspluginviewer crashes with webkitkde :-(<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p><p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p></body></html>