File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 88import type { MediaAtomBlockElement } from '../types/content' ;
99import { Caption } from './Caption' ;
1010import { SelfHostedVideo } from './SelfHostedVideo.importable' ;
11+ import { Island } from './Island' ;
1112
1213type LoopVideoInArticleProps = {
1314 element : MediaAtomBlockElement ;
@@ -29,7 +30,7 @@ export const LoopVideoInArticle = ({
2930 }
3031
3132 return (
32- < >
33+ < Island priority = "critical" defer = { { until : 'visible' } } >
3334 < SelfHostedVideo
3435 atomId = { element . id }
3536 fallbackImage = { posterImageUrl }
@@ -57,6 +58,6 @@ export const LoopVideoInArticle = ({
5758 mediaType = "SelfHostedVideo"
5859 />
5960 ) }
60- </ >
61+ </ Island >
6162 ) ;
6263} ;
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ import { Island } from '../components/Island';
2929import { ItemLinkBlockElement } from '../components/ItemLinkBlockElement' ;
3030import { KeyTakeaways } from '../components/KeyTakeaways' ;
3131import { KnowledgeQuizAtom } from '../components/KnowledgeQuizAtom.importable' ;
32- import { LoopVideoInArticle } from '../components/LoopVideoInArticle.importable ' ;
32+ import { LoopVideoInArticle } from '../components/LoopVideoInArticle' ;
3333import { MainMediaEmbedBlockComponent } from '../components/MainMediaEmbedBlockComponent' ;
3434import { MapEmbedBlockComponent } from '../components/MapEmbedBlockComponent.importable' ;
3535import { MiniProfiles } from '../components/MiniProfiles' ;
You can’t perform that action at this time.
0 commit comments