Results 1 to 4 of 4

Thread: Showing flash in webview again after hide() method without reloading it?

  1. #1
    Join Date
    Jul 2010
    Posts
    20
    Thanks
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Showing flash in webview again after hide() method without reloading it?

    i have a webview widget which contains a flash,if i hide it, and show it again, and the reload() method is not being called, the flash can't show again, but if i reload it , it will waste a lot of time, so is there any way Showing flash in webview again after hide() method without reloading it?

    ps, the swf file is on the local disk

    i tried

    QWebSettings::setOfflineStorageDefaultQuota(4096);
    but didn't work

    thx in advace ,and sry for my english

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Showing flash in webview again after hide() method without reloading it?

    Unfortunately if you hide() a plugin, WebKit destroys it so it has to be loaded again but you shouldn't need to reload the whole page to do that. Showing back the plugin should be enough.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Jul 2010
    Posts
    20
    Thanks
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Showing flash in webview again after hide() method without reloading it?

    sry for my expression,what i mean is to hide the webview itself not the flash in it. the webview contains and only contains this flash.If i hide the webview, and show it again, the page of webview become white,and can't showing flash again.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Showing flash in webview again after hide() method without reloading it?

    Can you prepare a minimal compilable example reproducing the problem?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 1
    Last Post: 25th November 2010, 11:37
  2. Replies: 4
    Last Post: 9th April 2009, 22:49
  3. webView
    By peace_comp in forum Qt Programming
    Replies: 1
    Last Post: 6th July 2008, 17:57
  4. Showing QMainWindow without showing a child QWidget
    By discostu in forum Qt Programming
    Replies: 3
    Last Post: 4th March 2007, 09:03

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.