.. include:: /Includes.rst.txt .. highlight:: rst .. index:: reST; YouTube videos reST directives; youtube .. _youtube-videos: .. _youtube: ==================== Embed YouTube videos ==================== .. rst-class:: bignums 1. Get the YouTube ID. Example: The URL is :samp:`https://www.youtube.com/watch?v=rWkVS9qxBmg`. The id is the text after `v=` and up to the next `&` or the end of the URL. Here: `rWkVS9qxBmg`. 2. Embed the Video using the ID .. code-block:: rst 2018-01-19 by Mathias Schreiber .. youtube:: wNxO-aXY5Yw How it looks: 2018-01-19 by Mathias Schreiber .. youtube:: wNxO-aXY5Yw