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.
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.
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">
</video>
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