Quote Originally Posted by MasterBLB View Post
Also,from what I know there will be issues to play .avi files via <video> tag,and that possibility is highly demanded in my application.
You'll be having issues in playing them (and all other) with the plugin api if you don't have a working plugin too.

This works for me without problems:

Qt Code:
  1. #include <QtWidgets>
  2. #include <QWebView>
  3.  
  4. int main(int argc, char **argv) {
  5. QApplication app(argc, argv);
  6. QWebView view;
  7. view.setUrl(QUrl::fromLocalFile("/tmp/vi/main.html"));
  8. view.show();
  9. return app.exec();
  10. }
To copy to clipboard, switch view to plain text mode 

html Code:
  1. <html>
  2. <body>
  3. <video width="1920" height="1080" controls>
  4. <source src="http://mirrorblender.top-ix.org/peach/bigbuckbunny_movies/big_buck_bunny_1080p_surround.avi" type="video/mp4"/>
  5. </video>
  6. </body>
  7. </html>
To copy to clipboard, switch view to plain text mode