Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- videoowl.on('translate.owl.carousel',function(e){
- $('.owl-item video').each(function(){
- $(this).get(0).pause();
- })
- $('.owl-item video').on('ended', function() {
- $(this).trigger('next.owl.carousel');
- });
- });
- videoowl.on('translated.owl.carousel',function(e){
- $('.owl-item.active video').get(0).play();
- })
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement