summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2016-05-04 16:17:32 +0200
committerLeena Miettinen <riitta-leena.miettinen@qt.io>2016-05-04 15:02:01 +0000
commit7dde2a0d8b65f963268f9bacbcb96601ac34327b (patch)
tree17676041a059a50d1f7921bd1165dc17fc368218 /src
parent240efee49a8e4402f2048a05c596605b2feadbd3 (diff)
Doc: How recentlyAudibleChanged and setMuted interact
Task-number: QTBUG-52971 Change-Id: Iae1501a49f57a140eaedb0ca446aacc67f207c9e Reviewed-by: Alexandru Croitor <alexandru.croitor@theqtcompany.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r--src/webengine/doc/src/webengineview.qdoc18
1 files changed, 16 insertions, 2 deletions
diff --git a/src/webengine/doc/src/webengineview.qdoc b/src/webengine/doc/src/webengineview.qdoc
index 7c7a2283a..444f0f398 100644
--- a/src/webengine/doc/src/webengineview.qdoc
+++ b/src/webengine/doc/src/webengineview.qdoc
@@ -1049,7 +1049,7 @@
This signal is emitted when the page's audio is (un)muted using audioMuted property.
\note Not to be confused with a specific HTML5 audio / video element being muted.
- \sa audioMuted
+ \sa audioMuted, recentlyAudibleChanged
*/
/*!
@@ -1057,7 +1057,7 @@
\brief Returns the current page's audible state (audio was recently played, or not).
\since QtWebEngine 1.3
\readonly
- \sa audioMuted
+ \sa audioMuted, recentlyAudibleChanged
*/
/*!
@@ -1071,6 +1071,20 @@
Also if the audio is paused, this signal is emitted with an approximate \b{two-second
delay}, from the moment the audio is paused.
+ This signal is also emitted for Flash plugin audio.
+
+ If a web page contains two videos that are started in sequence, this signal
+ gets emitted only once, for the first video to generate sound. After both
+ videos are stopped, the signal is emitted upon the last sound generated.
+ This means that the signal is emitted both when any kind of sound is
+ generated and when everything is completely silent within a web page,
+ regardless of the number of audio streams.
+
+ Spurious signal emissions might also happen. For example, when sound is
+ stopped, this signal gets emitted first with a value of \c true, and then
+ with a value of \c false. Further, when audio starts playing, the signal is
+ emitted twice with a value of \c true.
+
\sa recentlyAudible
*/