jwPlayer and RequireJS
I know this is a zombie of a previously closed post, but I'm having issues getting jwplayer to recognize my key on an app using RequireJS.
The previous post indicated that placing the key in the jwplayer.js file, or include it in another module file would work, but I'm not having any luck with it. Since jwplayer is loading as a module, I figured adding the key after the file is loaded and before the player is initialized would work, but it won't. Placing the key in the head of the document throws an error as jwplayer hasn't even been set yet.
My key was working fine before refactoring to RequireJS, so I know the key is legit. What am I doing wrong?