diff options
author | Paul Wicking <paul.wicking@qt.io> | 2024-01-04 09:54:20 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2024-01-08 20:32:04 +0000 |
commit | f6724fd47e7adb48068af443c95d5185567228ab (patch) | |
tree | 79e1718ebdb499d3fd4eb297aa7156dfbbf6efd8 /src | |
parent | aed05293fb7ae7e099b03f6eac21865eebb314f3 (diff) |
Doc: Fix typos
- Use correct signature in inline code example.
- Rephrase the sentence while at it.
- Wrap the text at 80 columns (documentation style).
- Fix nearby spelling mistake: 'setup' is 'set up' when used as a verb.
Fixes: QTBUG-120449
Pick-to: 6.6
Change-Id: I7c89bd69d1b4dc7af2535dee9d90f6a2f95650b8
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
(cherry picked from commit 24ec99c5f13e90aecb950ae79a42889440e402dd)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/multimedia/doc/src/platform-notes-wasm.qdoc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/multimedia/doc/src/platform-notes-wasm.qdoc b/src/multimedia/doc/src/platform-notes-wasm.qdoc index 7911d82bc..fc78e8cf8 100644 --- a/src/multimedia/doc/src/platform-notes-wasm.qdoc +++ b/src/multimedia/doc/src/platform-notes-wasm.qdoc @@ -25,10 +25,12 @@ less performant than desktop platforms when playing hi-def video. Using and selecting different Codecs/video formats have not yet been tested, but whatever video formats the browser supports will most likely work. -Playing streaming bytes instead of a url. e.g. setSource(QIOStream) is also not currently supported. +Playing data from a stream (using \c {setSourceDevice(QIODevice*)}), instead +of fetching a URL, isn't supported. + Some advanced features may or may not work at this time. -To setup playing a video file: +To set up playing a video file: QMediaPlayer *player = new QMediaPlayer(this); QAudioOutput audioOutput; // chooses the default audio routing |