I'm having problem to make the browser load the vlc plugin I've an html page that has this code inside:

Qt Code:
  1. <OBJECT type="applications/x-vlc-plugin" classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"
  2.  
  3. codebase="http://downloads.videolan.org/pub/videolan/vlc/latest/win32/axvlc.cab#Version=0,8,6,0"
  4. width="640"
  5. height="480"
  6. id="vlc"
  7. version="VideoLAN.VLCPlugin.2">
  8. <param name="MRL" id="mrlid" value="rtsp://***********" />
  9. <param name="ShowDisplay" value="True" />
  10. <param name="AutoLoop" value="False" />
  11. <param name="AutoPlay" value="False" />
  12. <param name="Volume" value="50" />
  13. <param name="StartTime" value="0" />
  14. <EMBED pluginspage="http://www.videolan.org" type="application/x-vlc-plugin" progid="VideoLAN.VLCPlugin.2" width="640" height="480" name="vlce"></EMBED>
  15. </OBJECT>
To copy to clipboard, switch view to plain text mode 

Instead of a movie I simply obtain a weird blue cube with '?' inside... no error, no debug anything...

I think to have enabled plugins in all possibles ways:

I've added in the QApplication ctor this code:

Qt Code:
  1. QWebSettings *settings = QWebSettings::globalSettings();
  2. settings->setAttribute(QWebSettings::JavascriptEnabled, true);
  3. settings->setAttribute(QWebSettings::PluginsEnabled, true);
To copy to clipboard, switch view to plain text mode 

I've done this in any QWebView that is created too...

Another thing I've tried is to force Qt to search plugins where npapi-vlc is installed doing in this way:

Qt Code:
  1. QCoreApplication::addLibraryPath("/usr/lib64/mozilla/plugins/");
To copy to clipboard, switch view to plain text mode 

and I continue to get a cube instead of a movie

What is the trick? There is some strange file to edit in some weird place to enable / disable some security that is blocking it?

The version of Qt I'm using is 5.6.1-3.

Please help me.

Thank you!