File tree Expand file tree Collapse file tree 1 file changed +2
-16
lines changed
dotcom-rendering/src/components/Card Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -875,8 +875,6 @@ export const Card = ({
875875 </ div >
876876 ) }
877877
878- { /** Don't merge this! */ }
879- < p > subtitleSize: { subtitleSize } </ p >
880878 < CardLayout
881879 cardBackgroundColour = { backgroundColour }
882880 mediaPositionOnDesktop = { mediaPositionOnDesktop }
@@ -962,18 +960,7 @@ export const Card = ({
962960 defer = { { until : 'visible' } }
963961 >
964962 < LoopVideo
965- // sources={media.mainMedia.sources}
966- sources = { [
967- {
968- // Test loop with subtitles
969- src : 'https://uploads.guimcode.co.uk/2025/10/07/Andy_test_6_oct--9d8d52da-da51-4ca0-9e04-ae6868c9afba-3.1.m3u8' ,
970- mimeType : 'application/x-mpegURL' ,
971- } ,
972- {
973- src : 'https://uploads.guimcode.co.uk/2025/10/07/Andy_test_6_oct--9d8d52da-da51-4ca0-9e04-ae6868c9afba-3.0.mp4' ,
974- mimeType : 'video/mp4' ,
975- } ,
976- ] }
963+ sources = { media . mainMedia . sources }
977964 atomId = { media . mainMedia . atomId }
978965 uniqueId = { uniqueId }
979966 height = { media . mainMedia . height }
@@ -986,8 +973,7 @@ export const Card = ({
986973 fallbackImageAspectRatio = "5:4"
987974 linkTo = { linkTo }
988975 subtitleSource = {
989- // TESTING ONLY - DO NOT MERGE
990- 'https://uploads.guimcode.co.uk/2025/10/07/Andy_test_6_oct--9d8d52da-da51-4ca0-9e04-ae6868c9afba-3.1captions_00001.vtt'
976+ media . mainMedia . subtitleSource
991977 }
992978 subtitleSize = { subtitleSize }
993979 />
You can’t perform that action at this time.
0 commit comments