1

AnythingSlider 컨트롤 안에 Flowplayer 플러그인을 사용하고 있습니다. 사용자가 Flowplayer와 상호 작용하기 위해 클릭 할 때 슬라이더가 다음 슬라이드로 이동하는 것을 중지하고 싶습니다. 다음과 같은 시도했지만 슬라이더를 계속 다음 슬라이드로 이동; # start-stop 항목의 .click() 호출도 작동하지 않았습니다. 사용자가 Flowplayer의 어떤 부분을 클릭 할 때 멈추고 싶습니다.하지만이 경우에는 onStart를 테스트했습니다.유량계를 클릭했을 때 AnythingSlider를 중지하는 방법

$f("vid", "flowplayer-3.2.1.swf", { 
    clip: { 
     autoPlay: false, 
     autoBuffering: true, 
     onStart: function(clip) { 
     //$('#start-stop').click(); 
     $('.anythingSlider').anythingSlider.startStop(false); 
    } 
}); 

감사합니다.

답변

1

당신이 AnythingSlider의 최신 버전을 확인,이 시도 :

$f("vid", "flowplayer-3.2.1.swf", { 
clip: { 
    autoPlay: false, 
    autoBuffering: true, 
    onStart: function(clip) { 
    $('.anythingSlider').data('AnythingSlider').startStop(false); 
    } 
} 
}); 
관련 문제