×

Discussion Board

Results 1 to 12 of 12
  1. #1
    Registered User
    Join Date
    Jun 2007
    Posts
    7

    Question Embed Flash player on QWebview

    Hi,
    I want to create my own browser using Qt's QWebview API.I am able to create it without any problems.
    But when i am trying to embed flash player its not showing any flash content.
    when i debug the Qt source code i came to know that some flash plugin is not getting loaded.

    I think some flash plugin for Qt browser is required.

    I have seen below Qt call stack in some linux opensource forum.


    #4 0xae23ed8e in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so
    #5 0xae24328e in NP_Initialize () from /usr/lib/mozilla/plugins/libflashplayer.so
    #6 0xb6eeb08e in WebCore::PluginPackage::load (this=0x85e8560) at /usr/local/src/Misc/webkit/WebCore/plugins/qt/PluginPackageQt.cpp:131
    #7 0xb6eeaa37 in WebCore::PluginPackage::fetchInfo (this=0x85e8560) at /usr/local/src/Misc/webkit/WebCore/plugins/qt/PluginPackageQt.cpp:40



    when WebCore::PluginPackage::load() is called it is loading libflashplayer.so is getting called.

    Is there any plugin to be used for symbian to make it work?

    I am using Qt 4.6.2. According to this documentation this version of Qt will support flash.

    Can somebody explain me how to load the flash and how can i show the flash content in my browser?

    Regards,
    Vijay
    Last edited by vijay_vrc; 2010-08-12 at 06:03.

  2. #2
    Registered User
    Join Date
    Aug 2010
    Posts
    26

    Embed and control flash content in a QT application

    This question has been posted before but has no replies - http://discussion.forum.nokia.com/fo...ighlight=flash

    Hence I am posting it again.

    I want to embed a flash movie in my QT application and be able to do basic control on the movie, like play/pause / jump to frame.

  3. #3
    Registered User
    Join Date
    Nov 2010
    Posts
    6

    [moved] Flash into Qt ??!!!

    Hello everyone,

    Im new to Qt and i would like to know if its possible to import or call any Flash animation (interactive) into Qt??

    i have a flash animation with 4 buttons, a Map that i can zoom in and out (simple) and im using flash lite 3 + action script 2 ...

    i try to call my Flash embeded into Html page and then in Qt i just put a simple script with Qwebkit

    the page appear but show : adobe requirednew version of flash .......

    this mean if i put my program into a Nokia devices it should work ?? or no ?

    maybe someone here have a better way to put a flash application into Qt ??

    thank you very much

    Sincerely,

    Max

  4. #4
    Registered User
    Join Date
    Nov 2010
    Posts
    6

    Re: Embed and control flash content in a QT application

    I just post something similiar and no replies yet as well ..

    need to insert flash into Qt !!

  5. #5
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Embed Flash player on QWebview

    To enable flash playing you need something like this
    Code:
    QWebView view;
    view.settings()->setAttribute(QWebSettings::PluginsEnabled, true);

  6. #6
    Registered User
    Join Date
    Nov 2010
    Posts
    6

    Re: Embed Flash player on QWebview

    Quote Originally Posted by divanov View Post
    To enable flash playing you need something like this
    Code:
    QWebView view;
    view.settings()->setAttribute(QWebSettings::PluginsEnabled, true);

    and for insert flash into Qt ?? sorry but none of all the threads has been reply ?!! really need to find the way to insert flash into Qt !!

    thank you

    ps: i open a new threads as well without replies...

  7. #7
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Embed Flash player on QWebview


  8. #8
    Registered User
    Join Date
    Nov 2010
    Posts
    6

    Re: Embed Flash player on QWebview

    thank you for your reply... at least you take times to reply .. thank you..

    what most of us looking for when we ask for flash into Qt was more about :

    - import a Swf files into Qt

    Details of Swf : 3 buttons, animation, action script 2 etc.. (flash lite)

    - import into Qt then we can make this .swf a Qt application for put into nokia (just like convert) .!! and be able to press button, interact with the animation etc... from the phone

    i don't know if its really clear !! please let me know if you want more details or anything. import flash is needed !!

  9. #9
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Embed Flash player on QWebview

    Quote Originally Posted by wreckx View Post
    - import a Swf files into Qt
    You can either use DEPLOYMENT or resource files.
    http://doc.qt.nokia.com/4.7/qmake-va...tml#deployment
    http://doc.qt.nokia.com/4.7/resources.html

    Quote Originally Posted by wreckx View Post
    Details of Swf : 3 buttons, animation, action script 2 etc.. (flash lite)
    This to be asked in Flash Lite forum. Note, Webkit doesn't support Flash Lite, it just normal Flash
    http://discussion.forum.nokia.com/fo...-Nokia-Devices

    Quote Originally Posted by wreckx View Post
    - import into Qt then we can make this .swf a Qt application for put into nokia (just like convert) .!! and be able to press button, interact with the animation etc... from the phone
    My previous post contains a link to a post with test application using flash in Qt Webkit.

  10. #10
    Registered User
    Join Date
    Nov 2010
    Posts
    6

    Re: Embed Flash player on QWebview

    Thank you very much Divanov for all your time and help..

    i will take a look of all the solutions and link you gave to me..

    thank you again for your help

    Sincerely,

    Max

  11. #11
    Nokia Developer Champion
    Join Date
    Apr 2005
    Location
    Boston
    Posts
    517

    Re: Flash into Qt ??!!!

    Ciao,

    take a look here:
    http://discussion.forum.nokia.com/fo...lash-supported

    Alessandro

  12. #12
    Registered User
    Join Date
    Nov 2010
    Posts
    6

    Re: Flash into Qt ??!!!

    Hi Alessandro,

    Thank you for your reply,

    ok this simple exemple can work perfectly if i upload my Flash application online and then call it from Qt with the script..

    so i can put this application on my fone and when i lunch it , the web browser go get my application and work perfectly

    #include <QtGui>
    #include <QtWebKit>

    int main(int argc, char * argv[])
    {
    QApplication app(argc, argv);

    QWebView view;
    view.settings()->setAttribute(QWebSettings::PluginsEnabled, true);
    view.load(QUrl("http://www.xxxxxxxxx.com"));
    view.show();

    return app.exec();
    }



    that good already but what i want exactly its to call my flash without any browser and be a simple application just like others ? without using any online system ? and be able to see my flash application without any connection internet ?!!

    i try to put a prefix with my flash embed into html, i try to call dicrectely the swf file .. but nothing seems to work ..!!

    can we do anything like this :

    #include <QtGui>
    #include <QtWebKit>

    int main(int argc, char * argv[])
    {
    QApplication app(argc, argv);

    QWebView view;
    view.settings()->setAttribute(QWebSettings::PluginsEnabled, true);
    view.load(QUrl("/new/prefix1/flash.swf"));
    view.show();

    return app.exec();
    }

    any suggestions ??

    thank you

    Max

Similar Threads

  1. Embed real player
    By rsuthar in forum Symbian Web Runtime
    Replies: 4
    Last Post: 2010-11-04, 08:56
  2. Embed Flash Lite within a WRT widget?
    By bryanrieger in forum Symbian Web Runtime
    Replies: 10
    Last Post: 2010-04-18, 17:42
  3. .avi player & Flash player for Nokia 5800
    By athensilver in forum [Archived] Flash Lite on Nokia Devices
    Replies: 2
    Last Post: 2009-06-12, 08:11
  4. How to launch flash file in emulator and embed flash file in c++ application
    By mrudulpen in forum [Archived] Flash Lite on Nokia Devices
    Replies: 8
    Last Post: 2008-05-09, 08:01
  5. How to embed Flash(*.swf) files
    By Dhakshna in forum Browsing and Mark-ups
    Replies: 5
    Last Post: 2005-10-23, 18:19

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •