开发者

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

开发者 https://www.devze.com 2022-12-29 01:44 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
开发者_如何学C

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 5 years ago.

Improve this question

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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消