Posted By

thesmu on 10/17/13


Tagged

videojs


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Priestd09


videojs hide on end


 / Published in: jQuery
 

hide on end

  1. script type="text/javascript">
  2. var myPlayer = videojs("home-video");
  3. videojs("home-video").ready(function(){
  4. this.on("ended", function(){
  5. $('#home-video').css('visibility', 'hidden');
  6. $('#home-intro-content').show();
  7. });
  8. });
  9. </script>

Report this snippet  

You need to login to post a comment.