In this tutorial you will see how to add videos from Vimeo on Revolution Slider WordPress plugin by layers and how to set it up on your responsive slider to be a background-video full-screen style with an auto-play mode, you also will see where to mute de video.
Vimeo On Revolution Slider
1. Add Video Layer
2. Vimeo Source
Enter the Vimeo ID or full URL, then click the “Search” button.
3. Vimeo Sizing
OFF = Vimeo’s video iframe will be whatever width and height you choose (see Layer Styles).
ON = Vimeo’s video iframe will cover the enter size of the slider (width and height will both automatically set to 100%).
OFF = Video will have a CSS background-size of “contain”. This means the video will never be cropped, but depending on the video’s original size ratio in relation to the slider’s actual size, blank space on the sides of the video may occur.
ON = Video will have a CSS background-size of “cover”. This means the video will always cover the entire size of the slider, but depending on the video’s original size ratio in relation to the slider’s actual size, video cropping may occur.
Dotted Overlay *
Choose to display a “mesh-like” transparent graphic on top of the video, adding some extra style to the video.
* only applicable if “Force Cover” is set to “On”.
Aspect Ratio *
Vimeo offers 2 versions of the video that can be loaded which are 16×9 or 4×3. For video backgrounds, 16×9 is usually best.
* only applicable if “Force Cover” is set to “On”
4. Vimeo Settings
Video will only play once each time the video is initially played.
Loop – Slide is paused:
Video will loop endlessly, and the slide will never change unless the slider’s navigation is used (next button clicked, etc.).
Loop – Slide does not stop:
Video will loop endlessly until the slide’s delay is reached. For example, if your slide’s are normally meant to be shown for 10 seconds, but your video’s length is only 5 seconds, the video will play twice before the slide actually changes.
Choose to autoplay the video when it animates into view.
Or choose On 1st Time to autoplay only the first time the slide is shown.
Or choose Not on 1st Time to only autoplay after the slide is shown at least once.
Stop Other Videos
If more than one videos are present in the slide at the same time, choose this option to make sure only one video can be played at a time.
Next Slide on End
>ON: Slide will immediately change as soon as the video ends.
OFF: If video’s length is less than the slide’s delay, the slide will not change until the delay time has been reached.
Rewind At Slide Start
ON: Video will always start from the beginning each time the slide is shown.OFF: Once the video plays, if the slide is changed before the video actually ends, when coming back to the same slide, the video will resume playing from the same point.
ON: No controls will be shown for the video.
OFF: Video will show the normal default Vimeo player controls.
Choose to mute the video’s volume if it normally has sound.
Set the default volume level for the video.
Start At / End At
Choose to start and/or end the video at a specific time, in minutes:seconds format.
Example “Start At” value: 00:17 (start the video 17 seconds in)
Example “End At” value: 02:17 (end the video at 2 minutes, 17 seconds)
Show Cover at Pause
Show the video’s preview image (see Visibility section) whenever the video is paused.
5. Vimeo Visibility
Quick TipFor optimal performance, always use a preview image! This way the video will only load from Vimeo.com when the video actually plays.
Enter a custom url, or click the “Image Library” button to choose an image from the WP Media library.
Or choose “Video Thumbnail”, which will then automatically load the video’s preview image from Vimeo.com.
Choose to disable the video for mobile devices (video layer will simply not be shown).
Only Preview on Mobile
When enabled, only the video’s preview image will be shown on mobile devices (video will never be loaded).
Play Button for your Preview ImagesUse the following technique to display a play button on top of your preview images.
- Download this PSD and extract its play button graphic, or create your own.
- Resize the play button to 76×43 in Photoshop.
- Upload the button graphic to your site, and make note of its url location.
- Add the following CSS to the slider’s Custom CSS section.
6. Vimeo Arguments
Additional parameters that can be passed to the video from this list.
Useful options from the list are “color” and “title” (see link above for descriptions of these params).
To add an additional parameter, prepend it to the beginning of the default params string.
For example, this:
would become this:
All the Visualmodo WordPress themes comes with the Revolution Slider premium WordPress plugin for free while our themes usage.