From 7539cf28371a938bc4f052d14be4bfa1b529300c Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Fri, 17 Sep 2021 05:53:23 +0200 Subject: [PATCH] refactor(youtube-player): remove deprecated APIs for v13 (#23520) Removes the APIs that were marked for removal in v13 in the `youtube-player` package. BREAKING CHANGE: * `YouTubePlayer.createEventsBoundInZone` has been removed. --- src/youtube-player/youtube-player.ts | 8 -------- tools/public_api_guard/youtube-player/youtube-player.md | 2 -- 2 files changed, 10 deletions(-) diff --git a/src/youtube-player/youtube-player.ts b/src/youtube-player/youtube-player.ts index d403b0940be5..b5624d8248b9 100644 --- a/src/youtube-player/youtube-player.ts +++ b/src/youtube-player/youtube-player.ts @@ -278,14 +278,6 @@ export class YouTubePlayer implements AfterViewInit, OnDestroy, OnInit { (playerObs as ConnectableObservable).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); } diff --git a/tools/public_api_guard/youtube-player/youtube-player.md b/tools/public_api_guard/youtube-player/youtube-player.md index dd44996cf23b..3d137b5a6c2d 100644 --- a/tools/public_api_guard/youtube-player/youtube-player.md +++ b/tools/public_api_guard/youtube-player/youtube-player.md @@ -25,8 +25,6 @@ export class YouTubePlayer implements AfterViewInit, OnDestroy, OnInit { constructor(_ngZone: NgZone, platformId: Object); // (undocumented) readonly apiChange: Observable; - // @deprecated (undocumented) - createEventsBoundInZone(): YT.Events; set endSeconds(endSeconds: number | undefined); // (undocumented) readonly error: Observable;