Is there a jQuery image and video slideshow librar

2019-05-10 18:33发布

Does anyone know of a jQuery library for doing an image slideshow with the add benefit of video embedded in the slideshow viewing area? Similar to how ESPN.com frontpage works.

3条回答
干净又极端
2楼-- · 2019-05-10 18:49

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.

查看更多
萌系小妹纸
3楼-- · 2019-05-10 19:05

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.

查看更多
Root(大扎)
4楼-- · 2019-05-10 19:07

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.).

查看更多
登录 后发表回答