Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Disable jwplayer


jwplayer community

I have a membership site and I want to show disabled players. Ideally they would load but not play. This is what I have.

jwplayer('player_id').on('play', function() {
if (disabled) {
jwplayer('player_id').pause();
}
});

The problem with this is the Play button goes to Pause and stays there. I would prefer the the Play button stay at play.

Willy

2 Community Answers

k...

User  
0 rated :

Is there a better way?

George

JW Player Support Agent  
0 rated :

Why not replace disabled players with images instead?

This question has received the maximum number of answers.