Skip to main content

Section 9.1 Embedded Videos

Our toolset provides a number of different things that will help you to learn to program in the Python programming language. Aside from reading the text, it is sometimes useful to hear someone tell you about different aspects of the topic being discussed. In order to accomplish this, we provide a way to integrate simple, short videos into the text. For example, if you click on the video shown below, you will hear us talk about the tools that will be described shortly.

<div id="over_videoinfo" class="video_popup runestone " > <video controls preload="none" poster="_static/activecodethumb.png"> <source src="http://media.interactivepython.org/runestone.mov" type="video/mp4"></source> <source src="http://media.interactivepython.org/runestone.webm" type="video/webm"></source> No supported video types </video> </div> <script> window.addEventListener('load', (event) => { jQuery(function($) { var rb = new RunestoneBase(); $('#over_videoinfo_thumb').click(function(e) { $('#over_videoinfo').show(); $('#over_videoinfo_thumb').hide(); rb.logBookEvent({'event':'video','act':'play','div_id': 'over_videoinfo'}); // Log the run event }); $('#over_videoinfo video').one("click", function(){ this.play(); }); $('#over_videoinfo video').one("play", function(){ rb.logBookEvent({'event':'video','act':'play','div_id': 'over_videoinfo'}); }); }); }); </script>Hint.
.. video:: videoinfo
    :controls:
    :thumb: _static/activecodethumb.png

    http://media.interactivepython.org/runestone.mov
    http://media.interactivepython.org/runestone.webm
You have attempted of activities on this page.