File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
dotcom-rendering/src/server Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,7 @@ const enhanceFront = (body: unknown): Front => {
4343 . editionBrandings ,
4444 data . editionId ,
4545 ) ,
46- isLoopingVideoTest :
47- data . config . abTests . loopingVideoVariant === 'variant' ,
46+ isLoopingVideoTest : ! ! data . config . switches . loopingVideo ,
4847 } ) ,
4948 } ,
5049 mostViewed : data . mostViewed . map ( ( trail ) => decideTrail ( trail ) ) ,
@@ -88,8 +87,7 @@ const enhanceTagPage = (body: unknown): TagPage => {
8887 pageId : data . pageId ,
8988 discussionApiUrl : data . config . discussionApiUrl ,
9089 editionId : data . editionId ,
91- isLoopingVideoTest :
92- data . config . abTests . loopingVideoVariant === 'variant' ,
90+ isLoopingVideoTest : ! ! data . config . switches . loopingVideo ,
9391 } ) ;
9492 const speed = getSpeedFromTrails ( data . contents ) ;
9593
You can’t perform that action at this time.
0 commit comments