summaryrefslogtreecommitdiffstats
path: root/src/webengine
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2020-04-29 10:49:43 +0200
committerMichal Klocek <michal.klocek@qt.io>2020-04-30 22:04:11 +0200
commit926881cfbdf5af8be3129f67b6eb37ff762d65b9 (patch)
treed953f3011ce4649065082377ef10eaad3884d4db /src/webengine
parentaf51e84171a922a67b59c1ad121b22a444f63bfb (diff)
Add documentation about widevine-path
Update docs: * explain usage of widevine-path * fix not working link for widevine drm * refer to BitMovin player instead of Shaka Player, since it does not complain about not working cdm Task-number: QTBUG-83035 Change-Id: Ifb2b01a1cf4ac800f40e063530567970b659a55b Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'src/webengine')
-rw-r--r--src/webengine/doc/src/external-resources.qdoc8
-rw-r--r--src/webengine/doc/src/qtwebengine-features.qdoc28
2 files changed, 29 insertions, 7 deletions
diff --git a/src/webengine/doc/src/external-resources.qdoc b/src/webengine/doc/src/external-resources.qdoc
index acf63fb04..7878ed9f8 100644
--- a/src/webengine/doc/src/external-resources.qdoc
+++ b/src/webengine/doc/src/external-resources.qdoc
@@ -71,8 +71,8 @@
*/
/*!
- \externalpage http://www.widevine.com/wv_drm.html
- \title Widevine DRM
+ \externalpage http://www.widevine.com
+ \title Widevine CDM
*/
/*!
@@ -86,8 +86,8 @@
*/
/*!
- \externalpage https://shaka-player-demo.appspot.com/demo/
- \title Shaka Player
+ \externalpage https://bitmovin.com/demos/drm
+ \title Bitmovin Player
*/
/*!
diff --git a/src/webengine/doc/src/qtwebengine-features.qdoc b/src/webengine/doc/src/qtwebengine-features.qdoc
index 954992de1..431367765 100644
--- a/src/webengine/doc/src/qtwebengine-features.qdoc
+++ b/src/webengine/doc/src/qtwebengine-features.qdoc
@@ -181,8 +181,30 @@
\section1 HTML5 DRM
- \QWE supports viewing DRM protected videos if the \l{Widevine DRM}
- plugin has been installed.
+ \QWE supports viewing DRM protected videos if the \l{Widevine CDM} plugin has been installed.
+ CDM plugin is a replacement of Flash based plugins for displaying DRM-protected content.
+ It comes only in a binary format, so it can hide DRM decryption implementation details.
+ It can be obtained from a third party or from a Google Chrome installation.
+
+ \QWE on startup looks for the \l{Widevine CDM} plugin in well know locations, like
+ default Google Chrome installation directory or Linux distro specific paths. However, plugin
+ location can be also passed with \c {QTWEBENGINE_CHROMIUM_FLAGS} using \c {widevine-path}.
+
+ On Windows:
+ \code
+ set QTWEBENGINE_CHROMIUM_FLAGS=--widevine-path="C:/some path/widevinecdm.dll"
+ \endcode
+
+ On Linux:
+ \code
+ export QTWEBENGINE_CHROMIUM_FLAGS=--widevine-path="/some path/libwidevinecdm.so"
+ \endcode
+
+ On macOS:
+ \code
+ export QTWEBENGINE_CHROMIUM_FLAGS=--widevine-path="/some path/libwidevinecdm.dylib"
+ \endcode
+
The video format most commonly used by DRM services, H.264, requires
proprietary audio and video codecs. For more information about enabling the
@@ -190,7 +212,7 @@
This feature can be tested by playing a video in \l{WebEngine Widgets Simple Browser
Example}{Simple Browser} or \l{WebEngine Quick Nano Browser}{Nano Browser}
- from \l{castLabs}, \l{Swank Motion Pictures, Inc.}, or \l{Shaka Player}.
+ from \l{castLabs}, \l{Swank Motion Pictures, Inc.}, or \l{Bitmovin Player}.
Support for this feature was added in Qt 5.7.0.