- トップページ
- mp4_test
$( document ).ready(function() { var owl = $('#one-midorie-carousel'); owl.owlCarousel({ nav:false, dots:false, items:1 }) owl.on('translate.owl.carousel',function(e){ $('.owl-item video').each(function(){ $(this).get(0).pause(); }); }); owl.on('translated.owl.carousel',function(e){ $('.owl-item.active video').get(0).play(); }) });
function isMobile(width) { if(width == undefined){ width = 719; } if(window.innerWidth <= width) { return true; } else { return false; } }