Home › Forums › General Issues › Wistia not working with ACF oEmbed › Reply To: Wistia not working with ACF oEmbed
I’m afraid I can’t show the video in my installation because of some sandbox flag errors.
Maybe you can try to use the wp_oembed_get() function like this:
<?php $embed_code = wp_oembed_get( 'https://thedropp.wistia.com/medias/p5egqo189g' ); echo $embed_code; ?>
If it’s working on your end, then you can add the video URL using a URL field type and then use that code to show the video.
I hope this helps.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
🚨 The 2023 ACF Annual Survey closes tomorrow! This is your last chance to complete the survey and help guide the evolution of ACF. https://t.co/0cgr9ZFOJ5— Advanced Custom Fields (@wp_acf) May 18, 2023
© 2023 Advanced Custom Fields.