Permalink
Browse files

Added paused to docs.

  • Loading branch information...
1 parent c189332 commit 448a70d2cc5e1c4001beb24b180eee481ced893f Steve Heffernan committed Jun 20, 2012
Showing with 10 additions and 0 deletions.
  1. +10 −0 docs/api.md
View
@@ -62,6 +62,16 @@ Pause the video playback. Returns the player object
</code>
+### paused() ###
+Returns false if the video is currently playing, or true otherwise. ()
+
+<code type="javascript">
+
+ var isPaused = myPlayer.paused();
+ var isPlaying = !myPlayer.paused();
+
+</code>
+
### src(newSource) ###
The source function updates the video source. There are three types of variables you can pass as the argument.

0 comments on commit 448a70d

Please sign in to comment.