1
0
mirror of https://github.com/videojs/video.js.git synced 2025-04-15 11:56:32 +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> </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) ### ### src(newSource) ###
The source function updates the video source. There are three types of variables you can pass as the argument. The source function updates the video source. There are three types of variables you can pass as the argument.