Results 1 to 9 of 9

Thread: How to load NPAPi programmatically in QWebEngineView

  1. #1
    Join Date
    Feb 2015
    Posts
    185
    Thanks
    5
    Qt products
    Qt5
    Platforms
    MacOS X Windows

    Default How to load NPAPi programmatically in QWebEngineView

    I read in an article that by default NPAPI is disabled since moving forward with QT, NPAPI will be depreciated.

    How do I enable this NPAPI programmatically, just like we do in chrome (chrome://flags ->enable NPAPI)

  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: How to load NPAPi programmatically in QWebEngineView

    I don't think you can do that.
    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
    Feb 2015
    Posts
    185
    Thanks
    5
    Qt products
    Qt5
    Platforms
    MacOS X Windows

    Default Re: How to load NPAPi programmatically in QWebEngineView

    Unity3d object is being loaded through NPAPI plugin.

    Then How to load unity3d object in QWebEngineView
    or Is there a way I can play the unity3d animation in QWebEngineView.

    Will I be able to use PPAPI instead of NPAPI wherein I can load this unity 3d object.


    Added after 40 minutes:


    Is it possible to load UnityWebPlayer plugin directly in QWebEngineView.

    Since I am new to this QWebEngine, not sure how to load external plugins in Qt
    Last edited by ejoshva; 22nd April 2015 at 05:25.

  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: How to load NPAPi programmatically in QWebEngineView

    As far as I can tell QWebEngine doesn't support NPAPI plugins nor it probably ever will.

    You can probably embed a custom unity widget directly in the view if you need it. Of course first you'll have to implement that widget yourself first.
    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.


  5. #5
    Join Date
    Feb 2015
    Posts
    185
    Thanks
    5
    Qt products
    Qt5
    Platforms
    MacOS X Windows

    Default Re: How to load NPAPi programmatically in QWebEngineView

    I tried loading, that unity 3d designed page in Otter-Browser (latest) which is developed on QT.
    The unity 3D page got loaded successfully.

  6. #6
    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: How to load NPAPi programmatically in QWebEngineView

    Quote Originally Posted by ejoshva View Post
    I tried loading, that unity 3d designed page in Otter-Browser (latest) which is developed on QT.
    The unity 3D page got loaded successfully.
    Great but why are you telling us that?
    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.


  7. #7
    Join Date
    Feb 2015
    Posts
    185
    Thanks
    5
    Qt products
    Qt5
    Platforms
    MacOS X Windows

    Default Re: How to load NPAPi programmatically in QWebEngineView

    I want to know, how it's getting loaded in that browser.
    But not in the browser examples given under QT/examples.

    I checked the code of the Otter Browser, they are making use of both QWebEngineWidgets and QtWebKits.

    So not able to understand what's exactly done to enable that unity 3d web player plugin, Since I am being beginner.

  8. #8
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to load NPAPi programmatically in QWebEngineView

    Well, if the developers of that browser managed to do it, have you asked them?

    Cheers,
    _

  9. #9
    Join Date
    Feb 2015
    Posts
    185
    Thanks
    5
    Qt products
    Qt5
    Platforms
    MacOS X Windows

    Default Re: How to load NPAPi programmatically in QWebEngineView

    Nope, will check with them.
    Meanwhile source code for that browser is found this link
    https://github.com/OtterBrowser/otter-browser

Similar Threads

  1. how can the QtWebkit support the NPAPI??
    By mcygogo in forum Qt Programming
    Replies: 3
    Last Post: 2nd December 2011, 12:20
  2. programmatically right click on QSystemTrayIcon
    By noa l in forum Qt Programming
    Replies: 5
    Last Post: 10th April 2011, 13:42
  3. Programmatically Dock
    By venkateshhegde in forum Newbie
    Replies: 4
    Last Post: 14th February 2011, 00:35
  4. How to programmatically add attachments to emails in Qt
    By Praveena pb in forum Qt Programming
    Replies: 2
    Last Post: 25th November 2010, 19:34
  5. [?] Input text programmatically
    By XuTMAH in forum Newbie
    Replies: 3
    Last Post: 24th September 2007, 16:47

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.