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:
parent
c189332ca3
commit
448a70d2cc
10
docs/api.md
10
docs/api.md
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user