Some of these player libraries do more async work internally. Just waiting for the script to be loaded might not be enough, I feel better waiting for window.jwplayer to exist.