Go
Not registered? Sign up!

spry tabbed panels / javascript playlist interacti

Google Translate
4 posts | return to the JavaScript Interaction forum | get the rss feed for this thread

Oct. 23, 2009Edward Spiegel

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.

Oct. 25, 2009Zachary Ozer

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

Is the player being reloaded each time you switch tabs?

Oct. 27, 2009Edward Spiegel

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

Oct. 27, 2009hobbs

 
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.

Add a reaction

You can also return to the category or try this search for related threads.


 

Search the Forums

Go

Support

Support Here are some helpful links to learn more about the JW Player™:

Monetize Your Video

Monetize Your Video Earn money with ads from LongTail's AdSolution. Watch our demos and sign up now!

Why Buy a License?

Why Buy a License? If you don’t buy a commercial license, you cannot use a JW Player™ on (i) a site that has ads; (ii) a corporate site; or a (iii) CMS. Our licenses are very inexpensive, so what are you waiting for? Buy a license today.