
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