WebPopup continues to stream audio when cancelled

hi all,

We are trying to resolve an issue where we are streaming a YouTube video into a WebPopup, then an event will cancel the popup (native.cancelWebPopup) and display something else in the same area.

However, if the clip is not finished when touching that event, the display changes but we continue to hear the clip.

This of course is a bit of a deal breaker. Any ideas anyone?

cheers,
bill
[import]uid: 4167 topic_id: 13305 reply_id: 313305[/import]

I’ve reported this to Ansca a few weeks ago and Tom was working on it, however I’ve had no update since before the new Stable release. [import]uid: 10389 topic_id: 13305 reply_id: 48917[/import]

I am also anxiously waiting for a resolution to this issue. Adding a note for the user to hit pause before closing the webpopup is not a very cool way to get around the problem.

Can someone from Ansca can confirm that this item is on their to-do list of bugs to squash? [import]uid: 8879 topic_id: 13305 reply_id: 57521[/import]

Carlos advised me in an email this issue is probably not resolvable. [import]uid: 10389 topic_id: 13305 reply_id: 57523[/import]

I haven’t played with webpopups enough to know whether this would work or not, but since only one webpopup can be active at a time, when you cancel the webpopup instead of just closing it, can you open it again with the URL of a local (on the device) blank page – then set a timer for xx milliseconds to close the webpopup.

It seems to me like the action of “switching pages” in the webpopup might close the active video stream.

But then again, maybe it’s already cached behind the scenes, or it works differently than that, etc.

But it may be worth trying out to see if that’s a work-around for the problem.

Jay
[import]uid: 9440 topic_id: 13305 reply_id: 57546[/import]

Jay,
Thanks for the tip. I actually tried that exact thing tonight before you posted and had positive results. Seems that if I quickly open and close a 1px by 1px local HTML webview as part of my “back” button function, it resets the audio channel that is still playing from the first webview and everything is good.
Brian [import]uid: 8879 topic_id: 13305 reply_id: 57549[/import]