You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

onLoad and enable method?? Created Jun 30, 2009

This thread is solved

Views: 2841     Replies: 1     Last reply Jun 30, 2009  
You must login first before you can use this feature

Arun

Posts: 22

Registered:
Jan 10, 2009

onLoad and enable method??

Posted: Jun 30, 2009

Hello,

I am using enable method to make scrubber grey out (ie read only).

onLoad : function() {
this.getControls().enable({scrubber: false});
}

After I pause the video, the loaded configuration is forgotten. Is this a bug? Because for the following sequence, scrubber is still greyed out: onLoad->Play->Full Screen-> Exit Full Screen->Pause->play.

Please advise.

Thanks!
Arun.

Christian Ebert
Flowplayer support

Posts: 2803

Registered:
May 27, 2008

» onLoad and enable method??

Posted: Jun 30, 2009

Reply to: onLoad and enable method??, from raghavarun
I don't understand. The way it works, and the way you describe it, the configuration is not forgotten: You grey out the scrubber when the player is loaded, and that's how it stays until you tell the player to do something else when a certain event happens (or onCuepoint).

Perhaps you mean something different (than the onLoad event?) because you could achieve what you describe just by simple configuration:


plugins: {
  controls: {scrubber: false}
}