qt5base-lts/doc/global
Topi Reinio 8a1880029d Doc: Add macro for embedding YouTube videos
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>
2017-03-06 13:43:58 +00:00
..
externalsites Doc: Enable global linking to new Qt Creator VCS subtopics 2016-11-25 10:52:04 +00:00
includes
includes-online Unify license header usage. 2016-03-29 10:20:03 +00:00
template Doc: Add macro for embedding YouTube videos 2017-03-06 13:43:58 +00:00
compat.qdocconf Doc: Ignore QML/JavaScript parsing errors 2017-02-07 08:34:39 +00:00
config.qdocconf Doc: Documentation template: Bump copyright year 2017-01-26 10:56:34 +00:00
externalsites.qdocconf
fileextensions.qdocconf
html-config.qdocconf
html-footer-online.qdocconf Doc: Documentation template: Bump copyright year 2017-01-26 10:56:34 +00:00
html-footer.qdocconf Doc: Documentation template: Bump copyright year 2017-01-26 10:56:34 +00:00
html-header-offline.qdocconf
html-header-online.qdocconf Doc: Online template: dynamically load footer content 2015-12-09 11:47:49 +00:00
macros.qdocconf Doc: Add macro for embedding YouTube videos 2017-03-06 13:43:58 +00:00
manifest-meta.qdocconf Doc: Update the highlighted examples list 2016-12-14 07:20:12 +00:00
qt-cpp-defines.qdocconf Merge remote-tracking branch 'origin/5.8.0' into 5.8 2016-12-16 09:45:16 +01:00
qt-html-templates-offline-simple.qdocconf Doc: Use a navigation separator in the simple offline template 2015-10-28 11:55:05 +00:00
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 Doc: Documentation template: Bump copyright year 2017-01-26 10:56:34 +00:00
qt-module-defaults.qdocconf