I have embedded an mp4 video in both the default WP body field and in a Custom WYSIWYG Field. It plays fine in the post body, but not in the Toolset field.
[video width="1280" height="720" mp4="hidden link" loop="true" autoplay="true" preload="none"][/video]
hidden link
Hello,
I have tried it in my localhost with a fresh WP installation + the latest version of Toolset plugins, it works fine.
So there should be some compatibility issue in your website, please check these:
1) Add suppress_filters='true' attribute into the custom WYSIWYG Field shortcode, for example:
[types field='test-wy' suppress_filters='true'][/types]
https://toolset.com/documentation/customizing-sites-using-php/functions/#wysiwyg
If suppress_filters=’true’, all third party (non WordPress) filters hooked into the_content filter will be removed
2) Make sure you are using the latest version of Toolset plugins, you can download them here:
https://toolset.com/account/downloads/
3) In case it is a compatibility problem, please deactivate all other plugins, and switch to wordpress default theme 2021, deactivate all custom PHP/JS code snippets, and test again
Hi, the suppress filters worked. What could this mean? That the issue is Theme related?
As I mentioned above there should be some compatibility issue in your website, that means there are some other plugins/theme is using the_content filter hook to change the WYSIWYG Field result, you can locate it by these:
In case it is a compatibility problem, please deactivate all other plugins, and switch to wordpress default theme 2021, deactivate all custom PHP/JS code snippets, and test again
If the problem is fixed, then activate other plugins/theme one by one, try to locate the problem plugin/theme.
My issue is resolved now. Thank you!