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

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -