jQuery 支持视频 + 图像的滑块
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/7337694/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Slider which supports Video + Images
提问by Ryan S
I am looking to find a slider which supports both images and videos, as the same gallery would have both. I would like that the slider would ideally loop through the images, but when it comes to the video, it would calculate the length of the video before looping through the next image.
我正在寻找一个同时支持图像和视频的滑块,因为同一个画廊会同时拥有两者。我希望滑块可以理想地循环浏览图像,但是当涉及到视频时,它会在循环浏览下一张图像之前计算视频的长度。
This will need to also be editable, ideally.
理想情况下,这也需要是可编辑的。
What are your recommendations? Is this something which I have to build, or is there ready made jQuery Sliders which support this?
你有什么建议?这是我必须构建的东西,还是有现成的 jQuery Sliders 支持它?
回答by Gandalf
回答by WayneC
I normally use this as a base and add to it. http://flowplayer.org/tools/scrollable/
我通常使用它作为基础并添加到它。 http://flowplayer.org/tools/scrollable/