Link to plugin page: https://zeroqode.com/plugin/background-videos-1603889751555x646533862967915600
Demo to preview the settings
Introduction
Background Video Plugin - Provides smooth videos for promotion on the landing page, go no further as with this plugin users can set videos as their backgrounds, with the possibility to stylize the frame, playback speed, change opacity, and more.
How to setup
- Create a database table with three fields of type file.
- Upload your background video in 3 file formats - .mp4, .webm, and .ogg, to be compatible with all browsers.
- Set the ID Attribute for the element you want to add background video.
3. Place the BackgroundVideos element on the page with the previous ID Attribute.
4. On your page set the data source URL for the plugin element from the table which you created above.
5. Done!
Note: Do not forget to deploy the database values to live.
Plugin Element Proprieties
The plugin contains BackgroundVideos visual element which should be used on the page.
Proprieties fields:
- Element ID - The "ID Attribute" of the element you want to insert background video for.
- Video URL β.mp4β - Refers to the same file but the ".mp4" extension. Tip: The URL should end with one of the following formats: ".mp4", ".m4a", ".m4p", ".m4b", ".m4r", and ".m4v".
- Video URL β.webmβ - Refers to the same file but the ".webm" extension. Tip: The URL should end with ".webm".
- Video URL β.oggβ - Refers to the same file but ".ogg" extension. Tip: The URL should end with one of the following formats: ".ogg", ".ogx", ".ogv", ".oga", ".spx", ".ogm", and ".opus".
- PLAYBACKRATE - propriety sets the rate at which the media is being played back. The range starts from 0.25 to 5.0. The normal speed is 1.
- MUTED - mutes the background video.
- BACKGROUND COLOR - allows a custom background color for a Video div element.
- VOLUME - the range starts from 0.0 to 1.0.
- ADD A PAUSE - add a pause if needed to play the item in RepeatingGroup or Popup.
- OPACITY - the opacity property can take a value from 0.0 to 1.0. The lower the value, the more transparent.
- Poster - the poster is required if the video does not set to autoplay.
- Autoplay - the video will play as soon as the page loads.
The Autoplay feature does not work in the Safari browser. When the Mute feature is not enabled Autoplay does not work.
The cause is - the policy of the browsers.(https://developers.google.com/web/updates/2017/09/autoplay-policy-changes)
Element Actions
- Video Play/Pause A Background Videos - an action that sets the playback of the video by playing or pausing a video.
- Change Video - This action is used to change the video.
- Video URL β.mp4β - Refers to the same file but the ".mp4" extension. Tip: The URL should end with one of the following formats: ".mp4", ".m4a", ".m4p", ".m4b", ".m4r", and ".m4v".
- Video URL β.webmβ - Refers to the same file but the ".webm" extension. Tip: The URL should end with ".webm".
- Video URL β.oggβ - Refers to the same file but ".ogg" extension. Tip: The URL should end with one of the following formats: ".ogg", ".ogx", ".ogv", ".oga", ".spx", ".ogm", and ".opus".
- PLAYBACKRATE - propriety sets the rate at which the media is being played back. The range starts from 0.25 to 5.0. The normal speed is 1.
- MUTED - mutes the background video.
- BACKGROUND COLOR - allows a custom background color for a Video div element.
- VOLUME - the range starts from 0.0 to 1.0.
- ADD A PAUSE - add a pause if needed to play the item in RepeatingGroup or Popup.
- OPACITY - the opacity property can take a value from 0.0 to 1.0. The lower the value, the more transparent.
- Poster - the poster is required if the video does not set to autoplay.
- Autoplay - the video will play as soon as the page loads.
Proprieties fields:
- Video Restart - This action is used to restart the video from the begging.
Workflow example
- Create your database as shown in the How to setup the plugin
- Add an event on Button click to play/pause the video using plugin action (if needed) otherwise use the plugin's element proprieties to customize the look
3. Done
Changelogs
Update: 20/09/23 - Version 1.23.0
- Added "Element ID" & removed "Enable viewport height" fields.
Update: 20/04/23 - Version 1.17.0
- Added "Video Restart" & renamed "Video Play/Pause" element actions.
Update: 31/03/23 - Version 1.16.0
- Fixed "Background Videos" element.
Update: 23/02/23 - Version 1.15.0
- Deleted the icons.
Update: 22/02/23 - Version 1.14.0
- Updated the description.
Update: 14/04/22 - Version 1.13.0
- Extended options for "Change Video" action.
Update: 08/04/22 - Version 1.12.0
- Fixed problem in passing parameters from plugin element to its action.
Update: 28/03/22 - Version 1.11.0
- Minor changes.
Update: 07/03/22 - Version 1.10.0
- Added new action "Change video background".
Update: 15/11/21 - Version 1.9.0
- Minor changes.
Update: 14/07/21 - Version 1.8.0
- Background Effects.
Update: 18/06/21 - Version 1.7.0
- Fixed the issue with Safari.
Update: 13/03/21 - Version 1.6.0
- Updated plugin name.
Update: 03/03/21 - Version 1.5.0
- Updated description.
Update: 14/02/21 - Version 1.4.0
- Minor update.
Update: 11/01/21 - Version 1.3.0
- Fixed background issue to ios and safari.
Update: 10/11/20 - Version 1.2.0
- Enable viewport height.
Update: 04/11/20 - Version 1.1.0
- Updated description.
Update: 27/10/20 - Version 1.0.0
- Initial Release.