You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add WPBakery Page Builder Integration for GoDAM #1253
We need to create WPBakery elements to embed GoDAM videos, video galleries, and audio.
This integration will extend GoDAM’s usability beyond Gutenberg, providing a seamless drag-and-drop experience directly within WPBakery.
Problem
Currently, WPBakery users can only embed GoDAM content using shortcodes.
This approach has several drawbacks:
No live visual preview of the embedded media
Limited configuration options within the builder interface
A disconnected workflow, making it less intuitive compared to native WPBakery elements
As a result, users face an inefficient process and may be discouraged from using GoDAM within WPBakery-powered sites.
Proposed Solution
Develop dedicated WPBakery elements that mirror the functionality of existing GoDAM Gutenberg blocks:
Top Priority
GoDAM Video Block
GoDAM Video Gallery
GoDAM Audio
Key Requirements
GoDAM Integration: Allow users to easily add GoDAM Video, Video Gallery, and Audio blocks inside WPBakery pages.
Standard Controls: Provide intuitive configuration using WPBakery’s built-in control system.
Live Preview: Display rendered GoDAM content directly within the WPBakery editor.
Responsiveness: Ensure all embedded content is fully responsive across devices.
Expected Outcome
WPBakery users will gain an intuitive, visual experience for integrating GoDAM content.
This enhancement will make GoDAM more accessible to a broader user base and improve its adoption among WordPress site builders.
changed the title [-]Add WPBakery Page Builder Integration for GoDAM (Video, Gallery, and Audio)[/-][+]Add WPBakery Page Builder Integration for GoDAM[/+]on Oct 13, 2025
Currently, WPBakery provides the attach_image and attach_images parameter types, allowing developers to integrate an image selector from the WordPress media library into their custom elements.
It would be highly useful if WPBakery could introduce similar parameter types — attach_video and attach_videos — to enable developers to select videos from the WordPress media library in the same way.
Since the existing attach_image and attach_images functionality already handles media attachments, only minimal adjustments would be required to support other MIME types (e.g., video/*). A flexible approach like attach_{$mime_type} could be implemented to make this feature more extensible for future media types.
@joelabreo227, I’ve implemented the WPBakery elements for GoDAM Video, GoDAM Video Gallery, and GoDAM Audio blocks.
Currently, we’re using a simple text field to input the element ID for GoDAM Video and Audio. As discussed earlier, we’ve raised a support ticket requesting WPBakery to add native attach_video and attach_audio param types, which would allow us to use the built-in media attachment selector. However, since that feature may take time to be implemented, we explored creating a custom param type.
The issue we’re facing is that the attachment ID set via our JS script isn’t being saved properly, which is currently blocking the implementation of the custom attach_video and attach_audio param types.
1. When we set a thumbnail image in the GoDAM video block, the image displays with a black border. Ideally, the thumbnail should cover the entire area without any borders.
2. When the GoDAM audio block is added in the editor with the auto-replay setting enabled, it is very difficult to stop the audio. Even after clicking the pause button, it takes two to three attempts for the music to stop.
3. Not able to see icon on GoDAM blocks
4. When metadata setting is chose it should display the metadata of audio in front end, currently its not visible
5. When a video block is added in the editor and a video is selected, the block still appears blank. This gives the impression that the video has not been selected, even though it has been.
When we set a thumbnail image in the GoDAM video block, the image displays with a black border. Ideally, the thumbnail should cover the entire area without any borders.
It is how the thumbnail is supposed to be displayed. Check the poster image for the Gutenberg block editor.
When metadata setting is chose it should display the metadata of the audio in the front end; currently its not visible
It is a preload property, which is used for audio loading strategy. You will not get any metadata information by setting preload > metadata.
When the GoDAM audio block is added in the editor with the auto-replay setting enabled, it is very difficult to stop the audio. Even after clicking the pause button, it takes two to three attempts for the music to stop.
When a video block is added in the editor, and a video is selected, the block still appears blank. This gives the impression that the video has not been selected, even though it has been.
Not able to debug the issue for points 2 and 5. WPBakery internally uses the shortcode for the element to display in the WPBakery editor and the frontend. Looks like these problems are occurring from WPBakery itself. We may need to reachout to them to fix the godam video loading issue.
Activity
[-]Add WPBakery Page Builder Integration for GoDAM (Video, Gallery, and Audio)[/-][+]Add WPBakery Page Builder Integration for GoDAM[/+]joelabreo227 commentedon Oct 24, 2025
Action items:
We will offload the work of the remaining two blocks to another resource after that:
KMchaudhary commentedon Oct 24, 2025
Request to WPBakery team
Currently, WPBakery provides the
attach_imageandattach_imagesparameter types, allowing developers to integrate an image selector from the WordPress media library into their custom elements.It would be highly useful if WPBakery could introduce similar parameter types —
attach_videoandattach_videos— to enable developers to select videos from the WordPress media library in the same way.Since the existing
attach_imageandattach_imagesfunctionality already handles media attachments, only minimal adjustments would be required to support other MIME types (e.g.,video/*). A flexible approach likeattach_{$mime_type}could be implemented to make this feature more extensible for future media types.Refs: https://kb.wpbakery.com/docs/inner-api/vc_map/, https://kb.wpbakery.com/docs/developers-how-tos/create-new-param-type/
How this will help GoDAM
This implementation will help the GoDAM team to provide a video / audio selector to users with a native WPBakery video selector UI.
cc: @joelabreo227 @hashibhere @nayemDevs
KMchaudhary commentedon Oct 28, 2025
Resources
How to create custom element: https://kb.wpbakery.com/docs/developers-how-tos/how-to-create-custom-element/
Doc for vp_map() function: https://kb.wpbakery.com/docs/inner-api/vc_map/
How to create new param type: https://kb.wpbakery.com/docs/developers-how-tos/create-new-param-type/
KMchaudhary commentedon Oct 31, 2025
@joelabreo227, I’ve implemented the WPBakery elements for GoDAM Video, GoDAM Video Gallery, and GoDAM Audio blocks.
Currently, we’re using a simple text field to input the element ID for GoDAM Video and Audio. As discussed earlier, we’ve raised a support ticket requesting WPBakery to add native attach_video and attach_audio param types, which would allow us to use the built-in media attachment selector. However, since that feature may take time to be implemented, we explored creating a custom param type.
The issue we’re facing is that the attachment ID set via our JS script isn’t being saved properly, which is currently blocking the implementation of the custom attach_video and attach_audio param types.
joelabreo227 commentedon Nov 6, 2025
KMchaudhary commentedon Nov 20, 2025
KMchaudhary commentedon Nov 21, 2025
Todo: Provide GoDAM Tab selection support for GoDAM Audio element.
KMchaudhary commentedon Dec 8, 2025
Resolve by in commit: 84ef8b7
cc: @joelabreo227 @kishan-gondaliya-7270
joelabreo227 commentedon Dec 9, 2025
KMchaudhary commentedon Dec 9, 2025
@joelabreo227 created a demo site, will add a subsite once WPBakery support is released.
https://godam-wpbakery.rt.gw/
GoDAM video, audio, and gallery element demo: https://godam-wpbakery.rt.gw/blog/2025/12/09/godam-elements-for-wpbakery/
subodhr258 commentedon Dec 16, 2025
Testing Steps
The current license key can only be used on a single site, so we need to follow these steps when testing the integration of WPBakery:
1. Download zip file provided above and activate the plugin.
2. Now on your site, go to this page and click on Activate WPBakery Page Builder:
3. Deactivate the previous site on the support portal. It should now look like this:
4. Go back to your site and click on the Activate button again. Then select the existing license key from the dropdown and activate:
5. Now your site should be connected. You should be able to see this option on pages:
cc: @KMchaudhary @kishan-gondaliya-7270
KMchaudhary commentedon Dec 31, 2025
@kishan-gondaliya-7270
I attached the demo videos and screenshots of GoDAM elements usage for WPBakery editor, on PR description.
kishan-gondaliya-7270 commentedon Jan 13, 2026
@KMchaudhary Moving this feature back to ToDo since it is P3, we will merge PR when we plan to release and resolve it to QA.
KMchaudhary commentedon Jan 27, 2026
@kishan-gondaliya-7270 WPBakery integration for GoDAM Video, Audio, and Gallery block (rtCamp/godam#1297) has been merged into the develop branch. You can QA the changes from https://github.com/rtCamp/godam/actions/runs/21392894268 artifact.
IndiraBiswas commentedon Jan 30, 2026
Hi @KMchaudhary
2. When the GoDAM audio block is added in the editor with the auto-replay setting enabled, it is very difficult to stop the audio. Even after clicking the pause button, it takes two to three attempts for the music to stop.
3. Not able to see icon on GoDAM blocks
4. When metadata setting is chose it should display the metadata of audio in front end, currently its not visible
5. When a video block is added in the editor and a video is selected, the block still appears blank. This gives the impression that the video has not been selected, even though it has been.
KMchaudhary commentedon Feb 3, 2026
@IndiraBiswas @kishan-gondaliya-7270
It is how the thumbnail is supposed to be displayed. Check the poster image for the Gutenberg block editor.
Not reproducible. I can see the icons of godam elements. (Used artifact: https://github.com/rtCamp/godam/actions/runs/21392894268)
It is a preload property, which is used for audio loading strategy. You will not get any metadata information by setting preload > metadata.
Not able to debug the issue for points 2 and 5. WPBakery internally uses the shortcode for the element to display in the WPBakery editor and the frontend. Looks like these problems are occurring from WPBakery itself. We may need to reachout to them to fix the godam video loading issue.
@kishan-gondaliya-7270 I've created a separate issue for the above 2 points.
cc: @joelabreo227
kishan-gondaliya-7270 commentedon Feb 4, 2026
Fixed icons :
When we load video it doesnt appear
after reloading video skeleton appears however not playable