[Solved] Show div when the video is paused


var video = document.getElementById('video_elm');
video.addEventListener('click', function() {
    this.paused?this.play():this.pause();
  },
  false);

video.addEventListener("pause", function() {
      document.getElementById("paused").style.display = "";
  });
video.addEventListener("play", function() {
      document.getElementById("paused").style.display = "none";
  });
<video id="video_elm" width="200" autoplay>
  <source src="http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4" type="video/mp4">
    Your browser does not support the video tag.
</video>
<div id="paused" style="display: none">The video is paused, click it again to resume</div>

solved Show div when the video is paused