Yeah I had tried that as well, that is the second line in my code block above 🙂
Here is how it is setup, the repeater is in a flexible content set,

That does not work no… Had tried that before as well
Thanks again, you solution was good, I just had to tweak script so fitvids would recognize and fire,
jQuery(function( $ ) {
$('.load-video-button').click(function() {
$('.embed-container').addClass('loaded-video').html($(this).data('video-embed'));
$( '.loaded-video' ).fitVids();
});
});
Well kinda! lol It does work to load the video, but seems to strip out the Oembed part, so it throws in a tiny iframe in the div… hmm
Edit: nevermind, I need to alter how fitvids is addressing it, thank you for the help!
oohh interesting approach, I like that!
Thank you much, will give it a try shortly.
Big +1 here as well, in my case for a MultiSite situation, do not want to have to enter the Pro key on every sub site. So a config file option would be great, or even a global setting on the network main site.
Thanks!
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.