Re: Audio in WebView stop when close NSWindow

2013-08-23 Thread li shunlian
在 2013-8-24,上午3:34,Nick Zitzmann 写道: > > On Aug 23, 2013, at 11:01 AM, li shunlian wrote: > >> I create a WebView to open a web page and this web page can play audio. When >> I close the NSWindow the audio stop. I open the window again, but the audio >> can not play again and I have to relo

Re: Audio in WebView stop when close NSWindow

2013-08-23 Thread Ken Thomases
On Aug 23, 2013, at 2:34 PM, Nick Zitzmann wrote: > On Aug 23, 2013, at 11:01 AM, li shunlian wrote: > >> I create a WebView to open a web page and this web page can play audio. When >> I close the NSWindow the audio stop. I open the window again, but the audio >> can not play again and I have

Re: Audio in WebView stop when close NSWindow

2013-08-23 Thread Nick Zitzmann
On Aug 23, 2013, at 11:01 AM, li shunlian wrote: > I create a WebView to open a web page and this web page can play audio. When > I close the NSWindow the audio stop. I open the window again, but the audio > can not play again and I have to reload this web page again. Can anyone give > me so

Re: Audio in WebView stop when close NSWindow

2013-08-23 Thread Alex Zavatone
I noticed something on iOS the other day that may help you with this issue. My app has a tab bar controller with two tabs. In one tab's scene, I load a video in a UIWebView and it starts playing and you can hear the audio. Click on the other tab to show other content and the audio keeps playin

Audio in WebView stop when close NSWindow

2013-08-23 Thread li shunlian
Dear list, I create a WebView to open a web page and this web page can play audio. When I close the NSWindow the audio stop. I open the window again, but the audio can not play again and I have to reload this web page again. Can anyone give me some advices to make the audio not stop? Thanks!