Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Audio shortcode in Variation Description only renders browser's default audio player #24417
Describe the bug
Isolating the problem (mark completed items with an [x]):
I've tried to look into the issue; I figure the issue is that since the content is loaded after page load, the mejs script doesn't go over the variation descriptions so the fallback html output is left unchanged.
My challenge is I'm not familiar enough with WooCommerce to know where to make the correct change. I looked at the fix for rendering shortcodes & html in variation descriptions (Pull 14048) without seeing an obvious place to start working.
I also found a stack overflow answer on rendering mejs elements in WordPress after page load, but not sure how to implement it in WooCommerce or if it is the best approach here (Link)
That's as far as I've been able to get on my own, unfortunately.