mirror of
https://github.com/videojs/video.js.git
synced 2025-02-04 11:43:27 +02:00
feat: deprecate firstplay event (#4353)
This commit is contained in:
parent
3087830ed7
commit
35df35143f
@ -1287,7 +1287,8 @@ class Player extends Component {
|
||||
*
|
||||
* @fires Player#firstplay
|
||||
* @listens Tech#firstplay
|
||||
* @deprecated As of 6.0 passing the `starttime` option to the player will be deprecated
|
||||
* @deprecated As of 6.0 firstplay event is deprecated.
|
||||
* @deprecated As of 6.0 passing the `starttime` option to the player and the firstplay event are deprecated.
|
||||
* @private
|
||||
*/
|
||||
handleTechFirstPlay_() {
|
||||
@ -1305,6 +1306,7 @@ class Player extends Component {
|
||||
* reason to prevent playback, use `myPlayer.one('play');` instead.
|
||||
*
|
||||
* @event Player#firstplay
|
||||
* @deprecated As of 6.0 firstplay event is deprecated.
|
||||
* @type {EventTarget~Event}
|
||||
*/
|
||||
this.trigger('firstplay');
|
||||
|
Loading…
x
Reference in New Issue
Block a user