in loadTrack before the ajax call add: // ilias tracking load patch start console.log(t.$node); var t_el = $(t.$node).parent().parent().parent().next(); if (t_el.length > 0 && t_el.hasClass("ilMobSubtitleText")) { var d = il.Util.replaceAll(t_el.html(), "<", "<"); d = il.Util.replaceAll(d, ">", ">"); // parse the loaded file if (typeof d == "string" && (/ 0) { t.displayChapters(track); } }, false); } if (track.kind == 'slides') { t.setupSlides(track); } return; } // ilias tracking load patch end