mirror of
https://github.com/videojs/video.js.git
synced 2024-12-25 02:42:10 +02:00
@mboles updated duration() method documentation. closes #3515
This commit is contained in:
parent
2f5a0ca48b
commit
bf2eabf82d
@ -4,6 +4,7 @@ CHANGELOG
|
||||
## HEAD (Unreleased)
|
||||
* @vdeshpande fixed control text for fullscreen button ([view](https://github.com/videojs/video.js/pull/3485))
|
||||
* @mister-ben fixed android treating swipe as a tap ([view](https://github.com/videojs/video.js/pull/3514))
|
||||
* @mboles updated duration() method documentation ([view](https://github.com/videojs/video.js/pull/3515))
|
||||
|
||||
--------------------
|
||||
|
||||
|
@ -1418,7 +1418,8 @@ class Player extends Component {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the length in time of the video in seconds
|
||||
* Normally gets the length in time of the video in seconds;
|
||||
* in all but the rarest use cases an argument will NOT be passed to the method
|
||||
* ```js
|
||||
* var lengthOfVideo = myPlayer.duration();
|
||||
* ```
|
||||
|
Loading…
Reference in New Issue
Block a user