jquery - how to show a movie after another was finished -


i have 3 short movies , want display them 1 after unit. how can considering lenght of each 1 (about 4,5 sec)

$(".1a").hide(); $(".1b").hide(); $(".2a").hide();   var showmovie =  function(){      $(".1a").show(function (){         $(".1b").show();      }); }  showmovie(); 

i've answered in relation audio - similar. here's link: https://stackoverflow.com/a/31116896/1173155


the above loops audio using 2 different audio elements. can achieve desired result playing next in loop (eg. pass count value on next iteration can used within selector).


Comments

Popular posts from this blog

symfony - InvalidConfigurationException in SecurityExtension.php line 429: No authentication listener registered for firewall "secured_area" -

angular ui router - 10 digest iterations reached in angularjs when using $state.go -

javascript - Handling constructor related functions while testing with mocha and sinon -