I'm having trouble getting JW Player (JW Platform) videos to load on KiK (and just mobile web, for that matter). Appears to work 100% of the time on desktop, but once inside the KiK app or even just in Safari and/or Chrome mobile web the videos will some time not load. In the iOS console log for Safari, I receive this error pointing to the kik.js include:
[Log] Error handling "jwplayerPlaylistLoaded" event listener [0]: TypeError: 'null' is not an object (evaluating 'ja.parentNode') function (a) {u.playlist=a.playlist;G=e;c();} (kik.js, line 12)
Object
playlist: Array[1]
type: "jwplayerPlaylistLoaded"
version: "6.9.4867"
__proto__: Object
Here is a link for review: http://vibetenders.fullbottle.tv/index-breaking.php One thing to note, I'm using JW Platform. And I'm using their javascript implementation method instead of their iframe implementation method since I need to use the player's event listeners for tracking.
I have placed one of the video scripts directly in the source code so that it is triggered as the kik home loads, which has definitely seemed to help reduce the errors, but I still do get them. When there is no error like the example above, then the video page loads and plays nicely.
Thanks for your help