Home › Forums › JavaScript › Stop YouTube video playing when overlay is closed › Reply To: Stop YouTube video playing when overlay is closed
December 13, 2017 at 11:21 am
#263820
bclovis
Participant
$(‘#playerID’).get(0).stopVideo(); would work in that case, but if there will be several different videos, a way to get the proper ID would be needed.