Skip to content

Commit

Permalink
refactor(youtube-player): remove deprecated APIs for v13 (#23520)
Browse files Browse the repository at this point in the history
Removes the APIs that were marked for removal in v13 in the `youtube-player` package.

BREAKING CHANGE:
* `YouTubePlayer.createEventsBoundInZone` has been removed.
  • Loading branch information
crisbeto authored Sep 17, 2021
1 parent 67f88d3 commit 7539cf2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
8 changes: 0 additions & 8 deletions src/youtube-player/youtube-player.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,14 +278,6 @@ export class YouTubePlayer implements AfterViewInit, OnDestroy, OnInit {
(playerObs as ConnectableObservable<Player>).connect();
}

/**
* @deprecated No longer being used. To be removed.
* @breaking-change 11.0.0
*/
createEventsBoundInZone(): YT.Events {
return {};
}

ngAfterViewInit() {
this._youtubeContainer.next(this.youtubeContainer.nativeElement);
}
Expand Down
2 changes: 0 additions & 2 deletions tools/public_api_guard/youtube-player/youtube-player.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ export class YouTubePlayer implements AfterViewInit, OnDestroy, OnInit {
constructor(_ngZone: NgZone, platformId: Object);
// (undocumented)
readonly apiChange: Observable<YT.PlayerEvent>;
// @deprecated (undocumented)
createEventsBoundInZone(): YT.Events;
set endSeconds(endSeconds: number | undefined);
// (undocumented)
readonly error: Observable<YT.OnErrorEvent>;
Expand Down

0 comments on commit 7539cf2

Please sign in to comment.