Other widget playing video makes my widget show it's now playing snippet

jsl4tv31 Aug 2011 7:15 AM
I followed the design/implementation of the media player widget including handling the cases where the user leaves my widget but the media keeps playing.  One thing needed for that is a second snippet showing that my widget is playing media.

My problem goes like this:

Start widget one, play media,
Press 'widgets key' on remote control (home in the simulator)
I see the dock, and media from widget one continues to play.
I Hit left/right until I get to widget two
I see widget two showing it's now playing snippet

I would expect that only widget one would show a now playing snippet.  What have I done wrong, or left out to make widget two claim to be playing when actually widget one is?  Luckily (?) I wrote both widgets (based very heavily on the media player sample).  Is this a bug specific to running source widgets in a simulator?

Thanks!

Jay
Vivek Jani11 Nov 2011 12:44 PM
Hi Jay,<br><br>Sorry for the delay in response. Were you able to solve your problem? If not, please paste some code here, so that I can take a look.<br><br>Thanks,<br>Vivek<br><br><div class="quote"><div class="quotetop">QUOTE<cite>(jsl4tv @ 31 Aug 2011 7:15 AM)</cite></div><blockquote class="quotemain">I followed the design/implementation of the media player widget including handling the cases where the user leaves my widget but the media keeps playing.&nbsp; One thing needed for that is a second snippet showing that my widget is playing media.<br><br>My problem goes like this:<br><br>Start widget one, play media,<br>Press &#39;widgets key&#39; on remote control (home in the simulator)<br>I see the dock, and media from widget one continues to play.<br>I Hit left/right until I get to widget two<br>I see widget two showing it&#39;s now playing snippet<br><br>I would expect that only widget one would show a now playing snippet.&nbsp; What have I done wrong, or left out to make widget two claim to be playing when actually widget one is?&nbsp; Luckily (?) I wrote both widgets (based very heavily on the media player sample).&nbsp; Is this a bug specific to running source widgets in a simulator?<br><br>Thanks!<br><br>Jay</blockquote></div>