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!