mirror of
https://github.com/videojs/video.js.git
synced 2025-01-02 06:32:07 +02:00
@huitsing updated docstrings for autoplay and loop methods. closes #2960
This commit is contained in:
parent
8ad286a768
commit
49cc73f980
@ -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))
|
||||
|
||||
--------------------
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user