There is a jplayer method
$(id).jPlayer( "pauseOthers" ) : jQuerywhich we could expose. It is supposed
to pause all other player instances. Not sure if that means
on the same page, or any window in the browser.



On Tue, Jan 25, 2011 at 11:12 AM, Grig <[email protected]> wrote:

>  I've been looking around for ways to control/detect media in multiple
> windows. It would be useful to have an array of currently open media
> somewhere. There are 2 reasons for this; stopping an old media element
> before starting a new one and memory cleanup.
>
> I've noticed that if I keep loading up audio files and refreshing the
> browser (firefox) that after a while, the browser starts slowing down. I
> can't think of anything else that would do this. I have to restart the
> browser (maybe clearing the cache works). It's not happening consistently
> enough for me to test properly. My guess is there's nothing that can be done
> to close a media file once the page has been refreshed and we just have to
> hope the browser does proper memory management.
>
>
>
>
>
>
> On 1/25/11 4:19 AM, Henry Minsky wrote:
>
> Seems to be an init timing issue, if I call my "makeNativePlayer" routine
> manually, it instantiates
> the player, so something about instantiating the player is maybe happening
> too early when the app loads
> in IE, maybe the jplayer script isn't fully loaded or something.
>
>
> On Mon, Jan 24, 2011 at 11:03 PM, Henry Minsky <[email protected]>wrote:
>
>>
>>
>>
>> The test case appj.lzx does not display a player in IE7 or IE8 at the
>> moment, but it doesn't give any
>> error in the browser either. Not sure what's going wrong there, the
>> simpler case in jp.lzx does
>> display the jplayer, so it must be something different in how I'm
>> initializing things in jplayerview, need
>> to look at that.
>>
>>
>
>
> --
> Henry Minsky
> Software Architect
> [email protected]
>
>
>
>


-- 
Henry Minsky
Software Architect
[email protected]

Reply via email to