Sorry, still can't embed videos, crashes too often.

This commit is contained in:
con
2009-04-09 12:44:12 +02:00
parent 7b84e0c91b
commit 814b36f2ff
2 changed files with 2 additions and 35 deletions

View File

@@ -43,21 +43,6 @@
\endlist \endlist
\endtable \endtable
\raw HTML
<center>
<object width="425" height="344">
<param name="movie"
value="http://www.youtube.com/v/U7yje3D1UM4&hl=en&fs=1"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param>
<embed src="http://www.youtube.com/v/U7yje3D1UM4&hl=en&fs=1"
type="application/x-shockwave-flash" allowscriptaccess="always"
allowfullscreen="true" width="425" height="344">
</embed>
</object>
</center>
\endraw
To learn more about the Qt Creator, click on one of the links below: To learn more about the Qt Creator, click on one of the links below:
\list \list
@@ -1395,23 +1380,6 @@
\title Keyboard Shortcuts \title Keyboard Shortcuts
\raw HTML
<center>
<object width="480" height="295">
<param name="movie"
value="http://www.youtube.com/v/6WGCxLIjRNg&hl=en&fs=1">
</param>
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param>
<embed src="http://www.youtube.com/v/6WGCxLIjRNg&hl=en&fs=1"
type="application/x-shockwave-flash" allowscriptaccess="always"
allowfullscreen="true" width="480" height="295">
</embed>
</object>
</center>
\endraw
Qt Creator provides various keyboard shortcuts to aid in the development Qt Creator provides various keyboard shortcuts to aid in the development
process. These shortcuts are listed in the table below: process. These shortcuts are listed in the table below:

View File

@@ -213,9 +213,8 @@ HelpViewer::HelpViewer(QHelpEngine *engine, CentralWidget *parent)
: QWebView(parent), helpEngine(engine), parentWidget(parent) : QWebView(parent), helpEngine(engine), parentWidget(parent)
{ {
setPage(new HelpPage(parent, helpEngine, this)); setPage(new HelpPage(parent, helpEngine, this));
// Enable JavaScript and Plugins for embedded videos settings()->setAttribute(QWebSettings::PluginsEnabled, false);
settings()->setAttribute(QWebSettings::PluginsEnabled, true); settings()->setAttribute(QWebSettings::JavaEnabled, false);
settings()->setAttribute(QWebSettings::JavaEnabled, true);
page()->setNetworkAccessManager(new HelpNetworkAccessManager(engine, this)); page()->setNetworkAccessManager(new HelpNetworkAccessManager(engine, this));