[Qt-interest] QGraphicsView, WebKit, Flash, and YouTube

Aron Bierbaum aronbierbaum at gmail.com
Mon Mar 2 16:30:44 CET 2009


I just tested again with Qt 4.5 RC1 on Windows compiled with MSVC 9.0
and the following website works fine:

http://www.adobe.com/products/flashplayer/

-Aron

On Sat, Feb 28, 2009 at 8:33 PM, Benjamin Meyer
<benjamin.meyer at torchmobile.com> wrote:
> Testing against the qt 4.5 snapshot neither youtube nor the adobe url
> you posted work in graphicsview in the example code.  I only saw flash
> on the QWebView widget.
>
> -Benjamin Meyer
>
> On Feb 27, 2009, at 10:48 AM, Aron Bierbaum wrote:
>
>> Thats odd because a lot of flash based sites work just fine. For
>> example if you change the URL in the example that I sent to:
>>
>> http://www.adobe.com/products/flashplayer/
>>
>> everything renders fine on top of the QGraphicsView.
>>
>> Thanks,
>> Aron
>>
>> On Thu, Feb 26, 2009 at 10:30 PM, Benjamin Meyer
>> <benjamin.meyer at torchmobile.com> wrote:
>>> The normal Flash plugin requires a top level window so you can't use
>>> it in opengl or graphicsview.  If you really need flash there is a
>>> embedded flash that you can license.
>>>
>>> -Benjamin Meyer
>>>
>>> On Feb 25, 2009, at 5:36 PM, Aron Bierbaum wrote:
>>>
>>>> I have recently been testing out the new plug-in support for WebKit
>>>> in Qt
>>>> 4.5 RC 1. Everything works great and I can visit all my favorite
>>>> sites.
>>>> After looking into this I started thinking about integrating this
>>>> with an
>>>> existing application that uses QGraphicsView to render the entire
>>>> UI.
>>>> Imagine a embedded web browser with the ability for any number of
>>>> cool
>>>> animations. As part of this I wanted to be able to do the while
>>>> thing with
>>>> sites with online videos like YouTube and Hulu, and of course do it
>>>> all
>>>> using OpenGL acceleration. Unfortunately when trying this I ran into
>>>> issues
>>>> where the audio would play, but the video would not be rendered on
>>>> the
>>>> QGraphicsView. Is this completely crazy? Does anyone have any ideas
>>>> or know
>>>> what I a going wrong?
>>>>
>>>> Thanks,
>>>> Aron
>>>> <GraphicsWebKit.zip>_______________________________________________
>>>> Qt-interest mailing list
>>>> Qt-interest at trolltech.com
>>>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>>
>>> _______________________________________________
>>> Qt-interest mailing list
>>> Qt-interest at trolltech.com
>>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>




More information about the Qt-interest-old mailing list