Is there a jQuery image and video slideshow library? [closed]

家住魔仙堡 提交于 2019-12-05 19:44:31

Basic jQuery Slider (http://basic-slider.com/) is pretty flexible. You can embed any type of HTML into each slide (images, text, embed video, etc.).

Whoa -- the video resumes when you click back to it in the slideshow! That's pretty neat... I doubt anyone else out there has done it. You can come close with Scrollable: http://flowplayer.org/tools/demos/tabs/slideshow.html

Just put a video in one of the tabs instead of an image.

You can easily use jQuery Cycle plugin for that.

$('#container').cycle({
    /* cycle options here */
    before: function(currEl) {
        // Stop the video, using any video plugin of your choice 
        // (e.g., JWPlayer, MeddiaElementJS, etc.)
        $(currEl).myVideoPlugin('stop');
    },
});

And you can attach an event to your video player plugin that advances the cycle to the next slide when video has finished playing.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!