externalEmbed is either false or undefined it seems

semantics-font
Svein-Tore Griff With 2015-04-16 20:14:53 +02:00
parent cf7ae066ad
commit 165db6ff6c
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ var H5P = H5P || {};
// Create object where external code may register and listen for H5P Events
H5P.externalDispatcher = new H5P.EventDispatcher();
if (H5P.isFramed && H5P.externalEmbed !== true) {
if (H5P.isFramed && H5P.externalEmbed === false) {
H5P.externalDispatcher.on('*', window.top.H5P.externalDispatcher.trigger);
}