1
0
mirror of https://github.com/videojs/video.js.git synced 2025-04-11 11:42:08 +02:00

Added paused to docs.

This commit is contained in:
Steve Heffernan 2012-06-20 10:29:07 -07:00
parent c189332ca3
commit 448a70d2cc

View File

@ -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.