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

Forums

/

playlist does not load until refresh

3 replies [Last post]

I'm encountering a very weird bug with a new plugin I've developed: when loading the player, sometimes the player only shows the button my plugin adds to the dock. (When looking at the headers, I can see that the skin is being loaded, but it is not shown.) When I refresh te page, everything works just fine.

Examining the headers tells me that the playlist is not being loaded.

This bug only occurs only sometimes, and it looks like it only happens when you visit a page for the first time. However, clearing cache and/or history, and/or restarting the browser give no guarantee to reproducing the bug. It's almost impossible to solve a bug that I don't know how to reproduce.

Does this sound familiar to anyone?
Does anyone have an idea of where to start looking?

Hi, Juaron -

I haven't been able to reproduce this bug myself. It's possible that the dock is throwing an uncaught error in its addButton() function; if that's the case, the dock might halt at that point and not accept further calls. Are you using the debug version of the Flash player to debug this? If so, you may get some useful error messages.

Hi Pablo, Thanks for the quick response. I am using the debug version of the Flash player, but it does not give me any errors. What I'm going to try now is to just let the player send add a lot of logging messages to firebug's console, and hope that that will make things clearer.

OK, let me know if you find anything interesting!