After spending some time with this i worked out a fairly stable Jquery solution, still not ideal but works well!
If anyone in the future needs to know how to disable annotations in youtube videos via jw player then follow this:
Start by turning off autoplay.
Then, in your player configuration use the following:
(I commented what it does if you need to understand)
jwplayer().onReady(function(){ // Wait for player to be ready
var checkExist = setInterval(function() { // set up of often we will check
var checksrc = $('#mediaplayer_youtube').attr('src'); // define the var for the youtube iframe src
if (typeof checksrc != 'undefined') { // wait until the iframe src had been defined
if($('#mediaplayer_youtube').attr('src',checksrc+"&iv_load_policy=3")){ //check and set the src to the same address now including the "iv_load_policy=3" attribute (which disables the annotations)
jwplayer().play(); // start playback
} clearInterval(checkExist); // stop running the check function
} }, 100); // check every 100ms
});
I hope this helps others
This question has received the maximum number of answers.