externalEmbed is either false or undefined it seems
parent
cf7ae066ad
commit
165db6ff6c
|
@ -3,7 +3,7 @@ var H5P = H5P || {};
|
||||||
// Create object where external code may register and listen for H5P Events
|
// Create object where external code may register and listen for H5P Events
|
||||||
H5P.externalDispatcher = new H5P.EventDispatcher();
|
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);
|
H5P.externalDispatcher.on('*', window.top.H5P.externalDispatcher.trigger);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue