Video Block
A video referenced by an ipfs:// file or a supported web video URL, with playback attributes.Extends
| id The block's permanent identity inside its document. | inherited | ||||||||||||||||||||||
| revision Output only: CID of the last Change that modified this block. | optional · inherited | ||||||||||||||||||||||
| type Block type tag, always `Video`. | Video | optional | |||||||||||||||||||||
| link The video — an `ipfs://<cid>` file or a web video URL such as a YouTube link. | |||||||||||||||||||||||
| attributes Playback settings and parent-layout attributes. | optional | ||||||||||||||||||||||
other fields: | |||||||||||||||||||||||
A video block plays a video. link is required: either an ipfs://<cid> file or a web video URL the app knows how to embed (YouTube links are recognized). Attributes: width, name, the playback flags autoplay, loop and muted, and the parent-layout pair.
See also
Files: how media files are stored and served.
block/image and block/file: other media blocks.
block/web-embed: embeds of web pages and posts.
Blocks: the block model.
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime
Powered by Seed HypermediaOpen App