悬停缩略图时播放
我的服务器上有几个视频,每个视频都有三个缩略图,我想要的是,如果我将鼠标放在视频上,它会显示(播放)该视频的所有缩略图 谢谢
i have several videos on my server and three thumbnails for every video what i want is if i put mouse on the video it shows(play) all the thumbnails of that video
thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要每个缩略图都有静态和动画版本。
最简单的解决方案之一是使用:
然后对所有此类 div 应用:
最后您需要指定处理函数,它将把 url(static_thumb.gif) 更改为类似 ani_thumb.gif 的内容。
You need to have static and animated version of each thumbnail.
One of simplest solutions would be to use:
and then to all such divs apply:
and lastly you need to specify the process function, that will change url(static_thumb.gif) into something like ani_thumb.gif.