onReady is not triggered sometimes
We are developing subtitles plugin which connects to JW player via JS api.
This is plugin - http://d.pr/i/jwQh
This is place where client is using it in production - http://ecorner.stanford.edu/authorMaterialInfo.html?mid=3103 (all results below are by using this page)
And this is our demo page - http://vsync.tunezee.com/js-plugin
In short - this is how plugin works:
1) It loads supporting files (*.js and *.css)
2) In second steps it just registers onReady() callback for jwplayer instance
3) Once callback is triggered instance of our plugin instance is created
Officially we claim that our plugin is working in IE6+, Chrome, Safari and FF.
We have received complaints that our subtitles plugin "sometimes" doesn't show up after page reload.
I tested it in Safari, Chrome and Firefox. Initial page rendering went fine all browsers.
Safari: worked 5/5.
Chrome: it didn't show up after 3rd reload
Firefox: worked 5/5
I have also asked few guys from to office to help me out with testing.
bc.. Safari Chrome Firefox
Sale no data 3/5 15/15
Marko 5/5 4/5 no data
Vladimir* no data 4/5 1/5
Milos 5/5 5/5 5/5
Me 5/5 4/5 5/5
* Vladimir is using Ubuntu all others are on Mac.
I have tried do come up scientific explanation why onReady was not fired after N-th time but failed so far.
Any piece of advice would be much appreciated.