Property url
The url
property is used inside video blocks,
import blocks,
html blocks,
text blocks
and feed blocks and should
hold the location of the video, feed or any content depending on the block you want to add to your email.
When it comes to recognizing video URI's we are pretty tolerant, you can simply copy-and-paste a URL to e.g. a Youtube or Vimeo video, and we'll manage to filter out the video identifier.
{
"from" : "info@example.com",
"subject" : "Email with a single video and feed",
"content" : {
"blocks" : [
{
"type" : "video",
"url" : "https://www.youtube.com/watch?v=zSQCH1qyIDo"
},
{
"type" : "feed",
"url" : "http://feeds.bbci.co.uk/news/rss.xml"
}
]
}
}
For more information and more examples, please check the documentation of video blocks, import blocks, html blocks, text blocks and feed blocks.
Found a typo?
You can find this documentation page on GitHub.
Propose a change