Skip to content

Commit

Permalink
feat: deprecate firstplay event (#4353)
Browse files Browse the repository at this point in the history
  • Loading branch information
gkatsev authored May 12, 2017
1 parent 3087830 commit 35df351
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/js/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -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_() {
Expand All @@ -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');
Expand Down

0 comments on commit 35df351

Please sign in to comment.