@@ -35,8 +35,6 @@ type Props = {
3535 collectionId : number ;
3636 /** Feature flag for the labs redesign work */
3737 showLabsRedesign ?: boolean ;
38- /** Feature flag for the enabling CORS loading on looping video */
39- enableLoopVideoCORS ?: boolean ;
4038} ;
4139
4240type RowLayout = 'oneCardHalfWidth' | 'oneCardFullWidth' | 'twoCard' ;
@@ -256,8 +254,6 @@ type SplashCardLayoutProps = {
256254 collectionId : number ;
257255 /** Feature flag for the labs redesign work */
258256 showLabsRedesign ?: boolean ;
259- /** Feature flag for the enabling CORS loading on looping video */
260- enableLoopVideoCORS ?: boolean ;
261257} ;
262258
263259const SplashCardLayout = ( {
@@ -271,7 +267,6 @@ const SplashCardLayout = ({
271267 containerLevel,
272268 collectionId,
273269 showLabsRedesign,
274- enableLoopVideoCORS,
275270} : SplashCardLayoutProps ) => {
276271 const card = cards [ 0 ] ;
277272 if ( ! card ) return null ;
@@ -357,7 +352,6 @@ const SplashCardLayout = ({
357352 subtitleSize = { subtitleSize }
358353 headlinePosition = { card . showLivePlayable ? 'outer' : 'inner' }
359354 showLabsRedesign = { showLabsRedesign }
360- enableLoopVideoCORS = { enableLoopVideoCORS }
361355 />
362356 </ LI >
363357 </ UL >
@@ -425,8 +419,6 @@ type FullWidthCardLayoutProps = {
425419 collectionId : number ;
426420 /** Feature flag for the labs redesign work */
427421 showLabsRedesign ?: boolean ;
428- /** Feature flag for the enabling CORS loading on looping video */
429- enableLoopVideoCORS ?: boolean ;
430422} ;
431423
432424const FullWidthCardLayout = ( {
@@ -441,7 +433,6 @@ const FullWidthCardLayout = ({
441433 containerLevel,
442434 collectionId,
443435 showLabsRedesign,
444- enableLoopVideoCORS,
445436} : FullWidthCardLayoutProps ) => {
446437 const card = cards [ 0 ] ;
447438 if ( ! card ) return null ;
@@ -518,7 +509,6 @@ const FullWidthCardLayout = ({
518509 showKickerImage = { card . format . design === ArticleDesign . Audio }
519510 showLabsRedesign = { showLabsRedesign }
520511 subtitleSize = { subtitleSize }
521- enableLoopVideoCORS = { enableLoopVideoCORS }
522512 />
523513 </ LI >
524514 </ UL >
@@ -538,8 +528,6 @@ type HalfWidthCardLayoutProps = {
538528 containerLevel : DCRContainerLevel ;
539529 /** Feature flag for the labs redesign work */
540530 showLabsRedesign ?: boolean ;
541- /** Feature flag for the enabling CORS loading on looping video */
542- enableLoopVideoCORS ?: boolean ;
543531} ;
544532
545533const HalfWidthCardLayout = ( {
@@ -554,7 +542,6 @@ const HalfWidthCardLayout = ({
554542 isLastRow,
555543 containerLevel,
556544 showLabsRedesign,
557- enableLoopVideoCORS,
558545} : HalfWidthCardLayoutProps ) => {
559546 if ( cards . length === 0 ) return null ;
560547
@@ -610,7 +597,6 @@ const HalfWidthCardLayout = ({
610597 headlineSizes = { undefined }
611598 canPlayInline = { false }
612599 showLabsRedesign = { showLabsRedesign }
613- enableLoopVideoCORS = { enableLoopVideoCORS }
614600 />
615601 </ LI >
616602 ) ;
@@ -629,7 +615,6 @@ export const FlexibleGeneral = ({
629615 containerLevel = 'Primary' ,
630616 collectionId,
631617 showLabsRedesign,
632- enableLoopVideoCORS,
633618} : Props ) => {
634619 const splash = [ ...groupedTrails . splash ] . slice ( 0 , 1 ) . map ( ( snap ) => ( {
635620 ...snap ,
@@ -659,7 +644,6 @@ export const FlexibleGeneral = ({
659644 containerLevel = { containerLevel }
660645 collectionId = { collectionId }
661646 showLabsRedesign = { showLabsRedesign }
662- enableLoopVideoCORS = { enableLoopVideoCORS }
663647 />
664648 ) }
665649 { groupedCards . map ( ( row , i ) => {
@@ -679,7 +663,6 @@ export const FlexibleGeneral = ({
679663 containerLevel = { containerLevel }
680664 collectionId = { collectionId }
681665 showLabsRedesign = { showLabsRedesign }
682- enableLoopVideoCORS = { enableLoopVideoCORS }
683666 />
684667 ) ;
685668
@@ -700,7 +683,6 @@ export const FlexibleGeneral = ({
700683 isLastRow = { i === groupedCards . length - 1 }
701684 containerLevel = { containerLevel }
702685 showLabsRedesign = { showLabsRedesign }
703- enableLoopVideoCORS = { enableLoopVideoCORS }
704686 />
705687 ) ;
706688 }
0 commit comments