diff --git a/js/h5p.js b/js/h5p.js index dd948b5..84a2921 100644 --- a/js/h5p.js +++ b/js/h5p.js @@ -391,6 +391,10 @@ H5P.newRunnable = function (library, contentId, $attachTo, skipResize) { if (instance.$ === undefined) { instance.$ = H5P.jQuery(instance); } + + if (instance.contentId === undefined) { + instance.conentId = contentId; + } // Make xAPI events bubble // if (parent !== null && parent.trigger !== undefined) {