I’m looking at adding functionality to the “Row Layouts” within the page builder. Is there a native way to do this?
I was thinking of something similar to overriding the modules? (http://forum.wpbeaverbuilder.com/custom-module-documentation/#override-built-in)
Or is there a way to do it via a custom module? I currently have some custom modules running on my BB site so that shouldn’t be an issue, I just couldn’t find anything in the documentation.
Any pointers would be greatly appreciated.
Thanks for getting in touch! I’ll have our lead dev check in on this one and get back to you a bit later today. Update to come soon!
Thanks for the reply yesterday, do you have any new info on this?
What I am trying to do is just to extend the core functionality to fix an issue that has been reported to me when using the HTML5 video background, the fix is easy enough to implement, I just would rather extend then have to re upload the fix every time I update the Beaver Builder plugin :D.
I raised a feature request for the issue here : https://wpbeaverbuilder.uservoice.com/forums/270594-general/suggestions/9478701-multiple-video-formats-for-the-html-video-backgrou
Sorry for the delay, I was out of the office yesterday. Unfortunately, there isn’t currently a way to extend the row layouts, but if you tell me what the bug is, we can look into getting it fixed for you.
No worries, thanks for getting back to me. Not sure its a bug as such, just something to achieve maximum compatibility on the HTML5 video background on the row layouts.
I have had issues with different browser / OS combinations will play use certain formats.
Essentially I wanted to change “wp-content\plugins\bb-plugin\includes\row-video.php” to add three video sources for webm, ogg and mp4 instead of the single source it currently adds.
Example of the final HTML I wanted to achieve:
<video id="background-video" autoplay loop name="media" preload="auto">
<source media="screen" src="PATH TO SOURCE FILE.webm" type="video/webm">
<source media="screen" src="PATH TO SOURCE FILE.ogg" type="video/ogg">
<source media="screen" src="PATH TO SOURCE FILE.mp4" type="video/mp4">
My quick and dirty solution was going to be to leave the modal dialogue with one selection option, and then, based on which file format was used in the modal selection, fill in the rest of the paths and file types in PHP automatically (obviously the two other files would have to be in the same folder as the one selected in the dialogue).
If you could implement something to that effect that would be great
Thanks for the detailed follow up. We get this request often, so I’ve bumped it up on our internal roadmap. I’ll try to get it out in a release soon.
Thanks for letting me know, I’ll marked this ticket resolved.