Presentations
=============

.. raw :: html

  <script>
  var numSlides = 19
  var slide = 1
  var autoplay = true
  function moveSlidePointerNext(){
    slide++
    if(slide > numSlides) {
      slide = numSlides
    }
  }
  function moveSlidePointerPrevious(){
    slide--
    if(slide < 1) {
      slide = 1
    }
  }
  function getCurrentSlide(){
    var presentationSVG1 = document.getElementById("presentationSVG")
    var presentationSVG  = presentationSVG1.getSVGDocument()
    return presentationSVG.getElementById("id"+slide)
  }
  function redrawSlides(){
    currentSlide = slide
    // Clear
    slide = 1
    for(;slide<=numSlides;slide++){
      getCurrentSlide().setAttribute("visibility","hidden")
    }
    slide = currentSlide
    // Show current slide
    getCurrentSlide().setAttribute("visibility","visible")
  }
  function changeSlide(moveSlidePointer){
    moveSlidePointer()
    redrawSlides()
  }
  function previousSlide(){
    changeSlide(moveSlidePointerPrevious);
  }
  function nextSlide(){
    changeSlide(moveSlidePointerNext);
  }
  function toggleAutoplay(){
    playPauseButton = document.getElementById("playPauseButton")
    playPauseButtonText = "Play";
    autoplay = !autoplay
    if(autoplay){
      playPauseButtonText = "Pause"
    }
    playPauseButton.innerHTML = playPauseButtonText
  }

  var interval = setInterval(function() {
    if(autoplay){
      nextSlide()
    }
  }, 4500);
  </script>
  <center><embed id="presentationSVG" src="_static/images/subuser-website.svg" onload="redrawSlides()" width="80%"></embed></center>
  <center><button onclick="previousSlide()">&lt;--</button><button id="playPauseButton" onclick="toggleAutoplay()">Pause</button><button onclick="nextSlide()">--&gt;</button></center>

The subuser vision
------------------

This is a talk I did back before subuser 0.3 came out. Back before I had the :doc:`XPRA X11 bridge working <news/0.3>` and before I had improved the update system to include "pull" style updates.

.. raw :: html

    <video width="480" height="320" controls>
     <source src="_static/images/subuser-vision.mp4" type="video/mp4">
     <source src="http://subuser.org/_static/images/subuser-vision.mp4" type="video/mp4">
     Your browser does not support the video tag. You can download the video of the talk <a href="_static/images/subuser-vision.mp4">here</a>.
    </video>

However, the vision remains...

Unfulfilled.
