forked from 0x2620/pandora
embed player: only pass event name
This commit is contained in:
parent
e49abea38f
commit
24ba371529
1 changed files with 1 additions and 4 deletions
|
@ -84,10 +84,7 @@ Ox.load('UI', {
|
||||||
position: checkRange
|
position: checkRange
|
||||||
} : {}))
|
} : {}))
|
||||||
.bindEvent(function(data, event) {
|
.bindEvent(function(data, event) {
|
||||||
window.postMessage(JSON.stringify({
|
window.postMessage(JSON.stringify({event: event}), '*');
|
||||||
event: event,
|
|
||||||
data: data
|
|
||||||
}), '*');
|
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
Ox.UI.hideLoadingScreen();
|
Ox.UI.hideLoadingScreen();
|
||||||
|
|
Loading…
Reference in a new issue