视差效果的背景视频 [英] Background video with parallax effect

查看:171
本文介绍了视差效果的背景视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法来放置在一个div容器中的背景视频的视差效果呢?我正在寻找的是类似这样的东西的模板:

Is there a way to place a background video in a div container with a parallax effect? What I'm looking for is something similar to this template:

点击此处查看例子

我已经尝试了一些流行的插件,我在互联网上找到,例如:

I've tried a few popular plugins I've found on the internet such as:

BigVideo.js

YouTube播放

jquery.videoBG

但他们没有做什么,我正在寻找或也许他们这样做,但我无法弄清楚:(

But none of them do what I'm looking for or maybe they do but I just couldn't figure it out :(

感谢大家!!

推荐答案

有一个插件,做了你在这里需要什么:的https:/ /github.com/linnett/backgroundVideo

There is a plugin that does exactly what you need here: https://github.com/linnett/backgroundVideo

这篇关于视差效果的背景视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆