Permalink
Browse files

Bug 955 - Vimeo Universal API. r=scott

  • Loading branch information...
jbuck committed Jul 11, 2012
1 parent 04531ab commit 610144e8bb4ad635e65cf5c85148eb9e136b0e72
@@ -286,7 +286,10 @@
}
} else {
- basePlayer.dispatchEvent( "error" );
+ // Asynchronous so that users can catch this event
+ setTimeout( function() {
+ basePlayer.dispatchEvent( "error" );
+ }, 0 );
}
popcorn = new Popcorn.p.init( basePlayer, options );
Oops, something went wrong.

0 comments on commit 610144e

Please sign in to comment.