title: I need to show text 5 seconds into a video and hide when video is at 10 seconds
body: <p>I have a video playing on the site and need text to show at 5 seconds and then hide it after 10 seconds</p>
  
  <pre><code>$(document).ready(function() {
    $('video').on('timeupdate', function() {
      var playTime = Math.round($(this).get(0).currentTime);
      if (playTime == 5) {
        $('txt1').show();
      }
      if (playTime == 10) {
        $('txt1').hide();
      }
    });
  });
  </code></pre>