title: Video JS - Change Play Icon in ControlBar with Replay Icon After Video End
body: <p>I have a videojs player. I want to chage play icon in controlbar with replay icon when the video has end.
  You can see like youtube player :</p>
  
  <p><img src="https://i.stack.imgur.com/KK42y.png" alt="enter image description here"></p>
  
  <p>This is my code :</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script&gt;
  videojs("my_video_1").ready(function(){
  
  var vid = this;
  vid.on("ended", function(){
  alert ("I want to change play icon in cotrolbar with replay icon");
   // i dont know to chage play icon when the video is finish
  
  });
  
  });</code></pre>
  </div>
  </div>
  </p>
  
  <p>This is my full code. You can run it via jsbin: <a href="http://jsbin.com/fijefi/2/" rel="nofollow noreferrer">http://jsbin.com/fijefi/2/</a></p>
  
  <p>thank you</p>