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 :/