Skip to content

Commit e09ea94

Browse files
committed
Update inline documentation about the play and playing events
1 parent c98859c commit e09ea94

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎scripts/event.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -548,11 +548,11 @@
548548
thisObj.onMediaNewSourceLoad();
549549
})
550550
.on('play',function() {
551-
// both 'play' and 'playing' seem to be fired in all browsers (including IE11)
552-
// therefore, doing nothing here & doing everything when 'playing' is triggered
551+
// 'play' indicates that the play method has been called.
553552
thisObj.refreshControls('playpause');
554553
})
555554
.on('playing',function() {
555+
// 'playing' indicates that the video is playing.
556556
thisObj.playing = true;
557557
thisObj.paused = false;
558558
thisObj.swappingSrc = false;

0 commit comments

Comments
 (0)