8a1880029d
This macro adds a \youtube <ID> command that embeds a YouTube link into the documentation. The video container scales to a specified percentage of the available horizontal area. It assumes a source aspect ratio of 16:9, but looks acceptable with other ratios. For backends that do not support <iframe> (e.g. QTextBrowser), shows a clickable video thumbnail that open the YouTube link in an external browser window. Unfortunately, QTextBrowser cannot load images from a remote URL, so we need to store a thumbnail image in the .qch file. Change-Id: I3a3a0c5a20dd90e5cec6357ba70a23ee47dbe825 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> |
||
---|---|---|
.. | ||
externalsites | ||
includes | ||
includes-online | ||
template | ||
compat.qdocconf | ||
config.qdocconf | ||
externalsites.qdocconf | ||
fileextensions.qdocconf | ||
html-config.qdocconf | ||
html-footer-online.qdocconf | ||
html-footer.qdocconf | ||
html-header-offline.qdocconf | ||
html-header-online.qdocconf | ||
macros.qdocconf | ||
manifest-meta.qdocconf | ||
qt-cpp-defines.qdocconf | ||
qt-html-templates-offline-simple.qdocconf | ||
qt-html-templates-offline.qdocconf | ||
qt-html-templates-online.qdocconf | ||
qt-module-defaults-offline.qdocconf | ||
qt-module-defaults-online-commercial.qdocconf | ||
qt-module-defaults-online.qdocconf | ||
qt-module-defaults.qdocconf |