videojs hide on end


/ Published in: jQuery
Save to your folder(s)

hide on end


Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.