Support

Account

Home Forums ACF PRO Loading field on front-end on button click? Reply To: Loading field on front-end on button click?

  • 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();
    	  });
    
    	});