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

Forums

/

Config not working in Flash embedded player

1 reply [Last post]

I am loading a JW FLV Player into a Loader using Flash CS4

Here is an excerpt of my code:

LoaderInstance.load("jw_flv_player.swf");

LoaderInstance.contentLoaderInfo.addEventListener(Event.COMPLETE, completeHandler);

private function completeHandler(e :Event) :void
{
playerObject = e.target.content as Object;
playerView = playerObject.view as Object;

// Set JW Player's config
playerObject.config['resizing'] = false;
playerObject.config['autostart'] = false;
playerObject.config['playlist'] = 'over';

if (playerView == null)
playerObject.addEventListener(PlayerEvent.READY, this.playerReady);
else playerReady();
}

Now, this code works. Everything is working great, actually. The resizing config var works. The autostart works. If I change autostart to true, it works.

However, playlist = over is not working.

Anyone have any idea???

Thanks,
-Carlos-

Hello Carlos,

Can you put your full code here, I try to load player but not working.

Thanks