Hello,
I’m having a hard time understanding why I can get the text block query working for my query, but not the video block.
my blueprint looks like this:
blocks:
type: blocks
label: Content
fieldsets:
- text
- video
and my query like this:
layout: {
query: "page.blocks.toBlocks",
select: {
id: true,
type: true,
text: true,
video: true,
},
},
This is my response for a video block:
id: "c90daebe-a0fc-4cdb-bfab-131f4f09beb4"
text: ""
type: "video"
video: ""
This is my response for the text block:
id: "4ba23118-5fb1-4acb-ac26-c934725bd179"
text: "<p>pipapo</p>"
type: "text"
video: ""
Outside of blocks the response works just fine. I tried video: "block.video.url"
and all sorts of queries, but none of them work. Am I missing something fundamentally?