
JWPlayer and RequireJS
I'm trying to integrate JWPlayer with the rest of my site's Javascript using RequireJS, but I'm encountering some problems.
First, it appears that the scrub-bar styling is very different; when I launch JWPlayer using a snippet of in-page code -- the three <script> tag approach, one for the player, one to set the key and another to instantiate the JWPlayer object -- I get an all-dark-grey control-bar with light grey highlights. When I comment that out and switch to using JWPlayer as a required dependency within my RequireJS application module, I get an all-white control-bar with black highlights.
The functionality appears to be the same, but I'm trying very hard to preserve my site's existing styling, so I'd prefer to fix it.
Second, RequireJS is an extremely common and widely-used library for managing dependencies. It would be helpful if your documentation included a brief discussion of its use with JWPlayer, especially with regard to any gotchas that exist when trying to use JWPlayer, e.g. is there some particular approach to deploying the key or instantiating the player that is recommended, does its use interfere with other libraries, etc. I'm pretty savvy with RequireJS but have encountered some significant frustration getting JWPlayer to exhibit the same sterling operation within an AMD setup compared to the immediate-execution model described in your documentation.
Any insight would be greatly appreciated.