Hello I’m currently writing a custom widget with a builder as form field. The problem I currently have is that the scripts from the video component (mediaelement) aren’t correctly loaded so the mediaelement controls are not displayed.
Here is the code: https://pastebin.com/hWMTLJ8y
And here the template: https://pastebin.com/AcQgZMCB
Hi Marcel,
I’ve run a few tests and unfortunately, I can’t seem to replicate this issue with the provided code. Can you please link me to a page where I can see this issue occur?
Please note that your widgets
render_template
method isn’t compatible with therender_template
method used bySiteOrigin_Widget_Base_Slider
class. This is resulting in the following error: