1
0
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:
Matthew Boles 2016-08-15 17:46:59 -04:00 committed by Gary Katsevman
parent 2f5a0ca48b
commit bf2eabf82d
2 changed files with 3 additions and 1 deletions

View File

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

View File

@ -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();
* ```