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

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -