Hi there!
Thank you for the report. I believe it’s kind of “working as intended” here since I changed the way embeds are handled since version 1.6.0. This leaves custom content as is by default for technical reasons. However, I can re-add the functionality for ACF, but can’t say anything regarding a timeline for that.
Best regards,
Matthias
Is there a quick way for me to add this via the themes functions.php?
ACF uses the filter “acf_the_content” maybe hook into that somehow?
Without taking a deeper look into it, I just can assume that you need to add an add_filter( 'acf_the_content' [ $this, 'replace_embeds' ] );
after line 272 in the file wp-content/plugins/embed-privacy/inc/class-embed-privacy.php
:
https://github.com/epiphyt/embed-privacy/blob/main/inc/class-embed-privacy.php#L272
Yep, that worked perfectly. Thanks a lot!
Btw: I don’t see a reason why this line shouldn’t be included in the plugin as it restores the previous functionality.
This is the idea. 🙂
Thank you for the response.
Should be fixed with 1.6.3, which is now available.
Sorry, but I can’t find this line in version 1.6.5 – has it gone again?
You simply don’t need to, it should work just fine.
I use videos inside an acf repeater field (for an accordion with wysiwyg-field) and it doesn’t work. when I insert the line add_filter( ‘acf_the_content’, [ $this, ‘replace_embeds’ ], 10, 2 ); everthing works like a charme.
Then please create a new topic as this is a new issue.