You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To provide data to the block, add your image to the `public` directory and provide the relative path to it.
215
+
The `title_translation_key` property is optional.
216
216
217
-
### Video block
217
+
### Media blocks
218
218
219
-
Embed video content by using the [`video` HTML element](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/video):
219
+
To provide data to the media block, place your image or video files in the `public` directory and provide the relative path to it.
220
+
221
+
!!! tip
222
+
223
+
To resolve the path relative to the site root, [prefix it with `/`](https://developer.mozilla.org/en-US/docs/Web/API/URL_API/Resolving_relative_references#root_relative).
0 commit comments