Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

spry tabbed panels / javascript playlist interacti

3 replies [Last post]

I am using the player in a Spry tabbed panel (I used DreamWeaver) and noticed that when I switch back and forth between tabs that the playlist becomes re-instantiated in a new div each time that I switch away and back to the tab. The result is that there are multiple copies of the playlist on the page (at least when running under FireFox).

Thought the programmers might like to know. I don't know if there is an easy way to prevent the replication.

The playlist assumes that the player is only being loaded once.

Is the player being reloaded each time you switch tabs?

I will have to investigate. It looks like this might be a browser-dependent issue (how a browser deals with Flash in a css element that has display:none).

--Edward

 
Flash doesn't like display:none

In some browsers, it goes into never-ever land.

If possible, it's better to move the Flash content offscreen rather than changing display to none.

It's also a good trick for re-instantiating the player without the normal flash, although I avoid re-instantiating at all costs, unless I absolutely have to change some flashvars.