开发者 |
blakedotvegas
pushlabs |
---|---|
更新时间 | 2023年3月9日 12:25 |
PHP版本: | 4.5 及以上 |
WordPress版本: | 6.1.1 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
[vidbg container="body" mp4="#" webm="#" poster="#" muted="true" loop="true" overlay="false" overlay_color="#000" overlay_alpha="0.3"]
Demo:
https://pushlabs.co/docs/video-background/
video-background
to the /wp-content/plugins/
directory15mb is usually best, I try to not exceed that. Any video after 15mb starts to slow down and sometimes will not load. Check with your hosting provider to make sure you have enough bandwidth for video backgrounds.
Video background works for Internet Explorer 9 and above. Any version below that will use the fallback image.
Simply fill out the 4 easy fields. Be sure for the container you enter "body" (without the quotes)
The best way to achieve this is to use a page builder like SiteOrigin or WPBakery (Visual Composer) to add a full width row, and apply the video background to it through the integration.
Fallback images can be .jpg, .png, and .gif.
This can be an issue with the file size of the video you are uploading. Make sure that you video is compressed and is does not exceed 15mb.
To add a video background to a class called header add ".header" to the container field. (without the quotes)