diff --git a/CHANGELOG.md b/CHANGELOG.md index b83730ca4..ea2a941a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ CHANGELOG ## HEAD (Unreleased) * @hartman fixed usage of lighten in progress component. Fixes #2793 ([view](https://github.com/videojs/video.js/pull/2875)) * @misteroneill exposed createEl on videojs ([view](https://github.com/videojs/video.js/pull/2926)) +* @huitsing updated docstrings for autoplay and loop methods ([view](https://github.com/videojs/video.js/pull/2960)) -------------------- diff --git a/src/js/player.js b/src/js/player.js index 040c4894f..b0391f2d7 100644 --- a/src/js/player.js +++ b/src/js/player.js @@ -1979,7 +1979,7 @@ class Player extends Component { /** * Get or set the autoplay attribute. * - * @param {Boolean} value Boolean to determine if preload should be used + * @param {Boolean} value Boolean to determine if video should autoplay * @return {String} The autoplay attribute value when getting * @return {Player} Returns the player when setting * @method autoplay @@ -1996,7 +1996,7 @@ class Player extends Component { /** * Get or set the loop attribute on the video element. * - * @param {Boolean} value Boolean to determine if preload should be used + * @param {Boolean} value Boolean to determine if video should loop * @return {String} The loop attribute value when getting * @return {Player} Returns the player when setting * @method loop