• Using W3 total cache and Google PageSpeed I noticed that the jwplayer is not enqueued like a normal script file. Its also loaded in the head instead of deferred (again because it’s not enqueued). Finally, its loaded on everypage whether its needed or not. Can you add an option to select where I load the script from? That way i don’t have to rely on your server, add another file to load and have it work seamlessly with my site? Also add logic so its only loaded if needed? Thanks

    http://wordpress.org/plugins/jw-player-plugin-for-wordpress/

Viewing 1 replies (of 1 total)
  • Plugin Author JW Player

    (@longtail-video)

    We can look into adding loading it if needed.

    You can edit jwplayermodule.php to point to the file in any location, though.

    Just edit this part:

    /*
    If you want to host your own player, please update the following constant and
    set it to the url for your player. E.g.:
    define(“JWP6_PLAYER_LOCATION”, “https://www.example.com/assets/jwplayer/jwplayer.js”);
    */
    define(“JWP6_PLAYER_LOCATION”, null);

Viewing 1 replies (of 1 total)
  • The topic ‘JS Not Enqueued’ is closed to new replies.