Skip to content

Commit

Permalink
Update README.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
shtaft committed Jan 15, 2016
1 parent 2030c64 commit 769691f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ ready is called.

var player = new playerjs.Player('iframe');

player.on(playerjs.Events.PLAY, function(
player.on(playerjs.Events.PLAY, function(){
console.log('play');
));
});

player.on('ready', function(){
player.setCurrentTime(20);
Expand Down Expand Up @@ -82,7 +82,7 @@ Wait for the document to be ready.
$(document).on('ready', function(){
$('iframes').each(function(){
var player = new playerjs.Player(this);
player.on('ready', funciton(){
player.on('ready', function(){
player.play();
});
});
Expand Down

0 comments on commit 769691f

Please sign in to comment.