@@ -19,8 +19,8 @@ class YouTubePlayerPlaceholder {
19
19
}
20
20
return `url(${ url } )` ;
21
21
}
22
- static { this . ɵfac = i0 . ɵɵngDeclareFactory ( { minVersion : "12.0.0" , version : "18.0.0-rc.0 " , ngImport : i0 , type : YouTubePlayerPlaceholder , deps : [ ] , target : i0 . ɵɵFactoryTarget . Component } ) ; }
23
- static { this . ɵcmp = i0 . ɵɵngDeclareComponent ( { minVersion : "14.0.0" , version : "18.0.0-rc.0 " , type : YouTubePlayerPlaceholder , isStandalone : true , selector : "youtube-player-placeholder" , inputs : { videoId : "videoId" , width : "width" , height : "height" , isLoading : "isLoading" , buttonLabel : "buttonLabel" , quality : "quality" } , host : { properties : { "class.youtube-player-placeholder-loading" : "isLoading" , "style.background-image" : "_getBackgroundImage()" , "style.width.px" : "width" , "style.height.px" : "height" } , classAttribute : "youtube-player-placeholder" } , ngImport : i0 , template : `
22
+ static { this . ɵfac = i0 . ɵɵngDeclareFactory ( { minVersion : "12.0.0" , version : "18.0.0-rc.2 " , ngImport : i0 , type : YouTubePlayerPlaceholder , deps : [ ] , target : i0 . ɵɵFactoryTarget . Component } ) ; }
23
+ static { this . ɵcmp = i0 . ɵɵngDeclareComponent ( { minVersion : "14.0.0" , version : "18.0.0-rc.2 " , type : YouTubePlayerPlaceholder , isStandalone : true , selector : "youtube-player-placeholder" , inputs : { videoId : "videoId" , width : "width" , height : "height" , isLoading : "isLoading" , buttonLabel : "buttonLabel" , quality : "quality" } , host : { properties : { "class.youtube-player-placeholder-loading" : "isLoading" , "style.background-image" : "_getBackgroundImage()" , "style.width.px" : "width" , "style.height.px" : "height" } , classAttribute : "youtube-player-placeholder" } , ngImport : i0 , template : `
24
24
<button type="button" class="youtube-player-placeholder-button" [attr.aria-label]="buttonLabel">
25
25
<svg
26
26
height="100%"
@@ -34,7 +34,7 @@ class YouTubePlayerPlaceholder {
34
34
</button>
35
35
` , isInline : true , styles : [ ".youtube-player-placeholder{display:flex;align-items:center;justify-content:center;width:100%;overflow:hidden;cursor:pointer;background-color:#000;background-position:center center;background-size:cover;transition:box-shadow 300ms ease;box-shadow:inset 0 120px 90px -90px rgba(0,0,0,.8)}.youtube-player-placeholder-button{transition:opacity 300ms ease;-moz-appearance:none;-webkit-appearance:none;background:none;border:none;padding:0;display:flex}.youtube-player-placeholder-button svg{width:68px;height:48px}.youtube-player-placeholder-loading{box-shadow:none}.youtube-player-placeholder-loading .youtube-player-placeholder-button{opacity:0}" ] , changeDetection : i0 . ChangeDetectionStrategy . OnPush , encapsulation : i0 . ViewEncapsulation . None } ) ; }
36
36
}
37
- i0 . ɵɵngDeclareClassMetadata ( { minVersion : "12.0.0" , version : "18.0.0-rc.0 " , ngImport : i0 , type : YouTubePlayerPlaceholder , decorators : [ {
37
+ i0 . ɵɵngDeclareClassMetadata ( { minVersion : "12.0.0" , version : "18.0.0-rc.2 " , ngImport : i0 , type : YouTubePlayerPlaceholder , decorators : [ {
38
38
type : Component ,
39
39
args : [ { selector : 'youtube-player-placeholder' , changeDetection : ChangeDetectionStrategy . OnPush , encapsulation : ViewEncapsulation . None , template : `
40
40
<button type="button" class="youtube-player-placeholder-button" [attr.aria-label]="buttonLabel">
@@ -517,8 +517,8 @@ class YouTubePlayer {
517
517
// Ensures that everything is cleared out on destroy.
518
518
takeUntil ( this . _destroyed ) ) ;
519
519
}
520
- static { this . ɵfac = i0 . ɵɵngDeclareFactory ( { minVersion : "12.0.0" , version : "18.0.0-rc.0 " , ngImport : i0 , type : YouTubePlayer , deps : [ { token : i0 . NgZone } , { token : PLATFORM_ID } ] , target : i0 . ɵɵFactoryTarget . Component } ) ; }
521
- static { this . ɵcmp = i0 . ɵɵngDeclareComponent ( { minVersion : "17.0.0" , version : "18.0.0-rc.0" , type : YouTubePlayer , isStandalone : true , selector : "youtube-player" , inputs : { videoId : "videoId" , height : [ "height" , "height" , numberAttribute ] , width : [ "width" , "width" , numberAttribute ] , startSeconds : [ "startSeconds" , "startSeconds" , coerceTime ] , endSeconds : [ "endSeconds" , "endSeconds" , coerceTime ] , suggestedQuality : "suggestedQuality" , playerVars : "playerVars" , disableCookies : [ "disableCookies" , "disableCookies" , booleanAttribute ] , loadApi : [ "loadApi" , "loadApi" , booleanAttribute ] , disablePlaceholder : [ "disablePlaceholder" , "disablePlaceholder" , booleanAttribute ] , showBeforeIframeApiLoads : [ "showBeforeIframeApiLoads" , "showBeforeIframeApiLoads" , booleanAttribute ] , placeholderButtonLabel : "placeholderButtonLabel" , placeholderImageQuality : "placeholderImageQuality" } , outputs : { ready : "ready" , stateChange : "stateChange" , error : "error" , apiChange : "apiChange" , playbackQualityChange : "playbackQualityChange" , playbackRateChange : "playbackRateChange" } , viewQueries : [ { propertyName : "youtubeContainer" , first : true , predicate : [ "youtubeContainer" ] , descendants : true , static : true } ] , usesOnChanges : true , ngImport : i0 , template : `
520
+ static { this . ɵfac = i0 . ɵɵngDeclareFactory ( { minVersion : "12.0.0" , version : "18.0.0-rc.2 " , ngImport : i0 , type : YouTubePlayer , deps : [ { token : i0 . NgZone } , { token : PLATFORM_ID } ] , target : i0 . ɵɵFactoryTarget . Component } ) ; }
521
+ static { this . ɵcmp = i0 . ɵɵngDeclareComponent ( { minVersion : "17.0.0" , version : "18.0.0-rc.2" , type : YouTubePlayer , isStandalone : true , selector : "youtube-player" , inputs : { videoId : "videoId" , height : [ "height" , "height" , numberAttribute ] , width : [ "width" , "width" , numberAttribute ] , startSeconds : [ "startSeconds" , "startSeconds" , coerceTime ] , endSeconds : [ "endSeconds" , "endSeconds" , coerceTime ] , suggestedQuality : "suggestedQuality" , playerVars : "playerVars" , disableCookies : [ "disableCookies" , "disableCookies" , booleanAttribute ] , loadApi : [ "loadApi" , "loadApi" , booleanAttribute ] , disablePlaceholder : [ "disablePlaceholder" , "disablePlaceholder" , booleanAttribute ] , showBeforeIframeApiLoads : [ "showBeforeIframeApiLoads" , "showBeforeIframeApiLoads" , booleanAttribute ] , placeholderButtonLabel : "placeholderButtonLabel" , placeholderImageQuality : "placeholderImageQuality" } , outputs : { ready : "ready" , stateChange : "stateChange" , error : "error" , apiChange : "apiChange" , playbackQualityChange : "playbackQualityChange" , playbackRateChange : "playbackRateChange" } , viewQueries : [ { propertyName : "youtubeContainer" , first : true , predicate : [ "youtubeContainer" ] , descendants : true , static : true } ] , usesOnChanges : true , ngImport : i0 , template : `
522
522
@if (_shouldShowPlaceholder()) {
523
523
<youtube-player-placeholder
524
524
[videoId]="videoId!"
@@ -534,7 +534,7 @@ class YouTubePlayer {
534
534
</div>
535
535
` , isInline : true , dependencies : [ { kind : "component" , type : YouTubePlayerPlaceholder , selector : "youtube-player-placeholder" , inputs : [ "videoId" , "width" , "height" , "isLoading" , "buttonLabel" , "quality" ] } ] , changeDetection : i0 . ChangeDetectionStrategy . OnPush , encapsulation : i0 . ViewEncapsulation . None } ) ; }
536
536
}
537
- i0 . ɵɵngDeclareClassMetadata ( { minVersion : "12.0.0" , version : "18.0.0-rc.0 " , ngImport : i0 , type : YouTubePlayer , decorators : [ {
537
+ i0 . ɵɵngDeclareClassMetadata ( { minVersion : "12.0.0" , version : "18.0.0-rc.2 " , ngImport : i0 , type : YouTubePlayer , decorators : [ {
538
538
type : Component ,
539
539
args : [ {
540
540
selector : 'youtube-player' ,
@@ -644,11 +644,11 @@ function loadApi(nonce) {
644
644
}
645
645
646
646
class YouTubePlayerModule {
647
- static { this . ɵfac = i0 . ɵɵngDeclareFactory ( { minVersion : "12.0.0" , version : "18.0.0-rc.0 " , ngImport : i0 , type : YouTubePlayerModule , deps : [ ] , target : i0 . ɵɵFactoryTarget . NgModule } ) ; }
648
- static { this . ɵmod = i0 . ɵɵngDeclareNgModule ( { minVersion : "14.0.0" , version : "18.0.0-rc.0 " , ngImport : i0 , type : YouTubePlayerModule , imports : [ YouTubePlayer ] , exports : [ YouTubePlayer ] } ) ; }
649
- static { this . ɵinj = i0 . ɵɵngDeclareInjector ( { minVersion : "12.0.0" , version : "18.0.0-rc.0 " , ngImport : i0 , type : YouTubePlayerModule } ) ; }
647
+ static { this . ɵfac = i0 . ɵɵngDeclareFactory ( { minVersion : "12.0.0" , version : "18.0.0-rc.2 " , ngImport : i0 , type : YouTubePlayerModule , deps : [ ] , target : i0 . ɵɵFactoryTarget . NgModule } ) ; }
648
+ static { this . ɵmod = i0 . ɵɵngDeclareNgModule ( { minVersion : "14.0.0" , version : "18.0.0-rc.2 " , ngImport : i0 , type : YouTubePlayerModule , imports : [ YouTubePlayer ] , exports : [ YouTubePlayer ] } ) ; }
649
+ static { this . ɵinj = i0 . ɵɵngDeclareInjector ( { minVersion : "12.0.0" , version : "18.0.0-rc.2 " , ngImport : i0 , type : YouTubePlayerModule } ) ; }
650
650
}
651
- i0 . ɵɵngDeclareClassMetadata ( { minVersion : "12.0.0" , version : "18.0.0-rc.0 " , ngImport : i0 , type : YouTubePlayerModule , decorators : [ {
651
+ i0 . ɵɵngDeclareClassMetadata ( { minVersion : "12.0.0" , version : "18.0.0-rc.2 " , ngImport : i0 , type : YouTubePlayerModule , decorators : [ {
652
652
type : NgModule ,
653
653
args : [ {
654
654
imports : [ YouTubePlayer ] ,
0 commit comments