Home › Forums › Front-end Issues › using file field urls in js/jquery › Reply To: using file field urls in js/jquery
They are sub fields of a flexible content layout (mistakenly referred to as repeater field in my initial post). Video id is unique.
However in trying out what you asked I got console error: Uncaught TypeError: $ is not a function
Which I remedied by using jQuery(function ($) {
instead of $(document).ready(function(){
or jQuery(function(){
I tested by adding multiple videos to the page and it seems to be working. Thank you for your help! I had given up on this idea and it was essentially user error :/
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.