Themeablebrowser-closepressed event problem


#1

Hello :smiley: i am working on ionic 3 application , i am facing problem in themeablebrowser , for the

.addEventListener(‘closePressed’, > function(event) {
this.smartAudio.play();
this.screenOrientation.unlock()
});

the objects (smartaudio/screenOriantation) are not access able in the function()

i need it to make the background music play after leaving the browser also
i need the same thing in the youtubevideoplayer
after leaving the player i should resume playing the music , any solution?
Thanks :smile:


#2

Hello,

.on('closePressed').subscribe(event => {
   console.log("closePressed");
})