Feat/BOOK-257 videoplayer with card

* feat(BOOK-257): Added VideoPlayer with card component
* feat(BOOK-257): Added queries and component for VideoCard block to Content and Collection pages
* fix(BOOK-257): Only setting object-fit: cover on the video if it is not fullscreen
* feat(BOOK-257): Added queries and component for VideoCard block to Startpage
* feat(BOOK-257): Added queries and component for Video block to content/collection/start page

Approved-by: Chuma Mcphoy (We Ahead)
This commit is contained in:
Erik Tiekstra
2025-12-12 06:34:32 +00:00
parent 5770147af4
commit 0597b09c08
31 changed files with 1226 additions and 52 deletions

View File

@@ -30,6 +30,14 @@ import {
UspGrid_ContentPage,
UspGrid_ContentPageRefs,
} from "../../Fragments/Blocks/UspGrid.graphql"
import {
Video_ContentPage,
Video_ContentPageRefs,
} from "../../Fragments/Blocks/Video.graphql"
import {
VideoCard_ContentPage,
VideoCard_ContentPageRefs,
} from "../../Fragments/Blocks/VideoCard.graphql"
import {
NavigationLinks_ContentPage,
NavigationLinksRef_ContentPage,
@@ -126,6 +134,8 @@ export const GetContentPageBlocksBatch1 = gql`
...CardsGrid_ContentPage
...Content_ContentPage
...DynamicContent_ContentPage
...VideoCard_ContentPage
...Video_ContentPage
}
}
}
@@ -133,6 +143,8 @@ export const GetContentPageBlocksBatch1 = gql`
${CardsGrid_ContentPage}
${Content_ContentPage}
${DynamicContent_ContentPage}
${VideoCard_ContentPage}
${Video_ContentPage}
`
export const GetContentPageBlocksBatch2 = gql`
@@ -204,6 +216,8 @@ export const GetContentPageBlocksRefs = gql`
...Shortcuts_ContentPageRefs
...TextCols_ContentPageRef
...UspGrid_ContentPageRefs
...VideoCard_ContentPageRefs
...Video_ContentPageRefs
}
}
}
@@ -214,6 +228,8 @@ export const GetContentPageBlocksRefs = gql`
${Shortcuts_ContentPageRefs}
${TextCols_ContentPageRef}
${UspGrid_ContentPageRefs}
${VideoCard_ContentPageRefs}
${Video_ContentPageRefs}
`
export const GetDaDeEnUrlsContentPage = gql`