单击 Flowplayer 时如何停止 AnythingSlider
我在 AnythingSlider 控件中使用 Flowplayer 插件。当用户单击与 Flowplayer 交互时,我想阻止滑块移动到下一张幻灯片。我已尝试以下操作,但滑块继续移至下一张幻灯片; #start-stop 项目上的 .click() 调用也不起作用。我希望它在用户单击 Flowplayer 的任何部分时停止,尽管在本例中我测试了 onStart。
$f("vid", "flowplayer-3.2.1.swf", {
clip: {
autoPlay: false,
autoBuffering: true,
onStart: function(clip) {
//$('#start-stop').click();
$('.anythingSlider').anythingSlider.startStop(false);
}
});
谢谢。
I'm using the Flowplayer plugin inside the AnythingSlider control. I'd like to stop the slider from moving to the next slide when the user clicks to interact with the Flowplayer. I've tried the following but the slider continues to move to the next slide; the .click() call on the #start-stop item didn't work either. I'd like it to stop when the user clicks on any part of the Flowplayer, though in this case I tested it for the onStart.
$f("vid", "flowplayer-3.2.1.swf", {
clip: {
autoPlay: false,
autoBuffering: true,
onStart: function(clip) {
//$('#start-stop').click();
$('.anythingSlider').anythingSlider.startStop(false);
}
});
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
确保您获得最新版本的 AnythingSlider,然后尝试以下操作:
Make sure you get the latest version of AnythingSlider, then try this: