Media and widgets
YouTube videos, audio and video files, PDF documents, maps, QR codes and countdowns
YouTube video
Paste the address of the video as YouTube gives it. Readers who play it are seen by YouTube, like on any website with a video.
::block-youtube{url="https://www.youtube.com/watch?v=aqz-KE-bpKQ" label="Example video"}
::
[block-youtube, url="https://www.youtube.com/watch?v=aqz-KE-bpKQ", label="Example video"]
====
====
<block-youtube url="https://www.youtube.com/watch?v=aqz-KE-bpKQ" label="Example video"></block-youtube>
Options: start (seconds), autoplay, loop, controls, width, height.
Audio or video file
For a song to learn or a recorded message. Upload the file first, then use its path.
::block-media-player{src="/files/songs/alleluia.mp3"}
::
[block-media-player, src="/files/songs/alleluia.mp3"]
====
====
<block-media-player src="/files/songs/alleluia.mp3"></block-media-player>
There is no Output tab here because the archive has no sample audio file. Upload one and the player appears.
PDF document
Shows a PDF page by page, for example a flyer or the program of the camp. Upload the file first.
::block-pdf{src="/files/summer-camp-program.pdf" height="800"}
::
[block-pdf, src="/files/summer-camp-program.pdf", height="800"]
====
====
<block-pdf src="/files/summer-camp-program.pdf" height="800"></block-pdf>
Options: page (page to open), zoom (page-width, page-fit, 100%...), height (0 shows the whole document), hideToolbar.
Map
A place on an OpenStreetMap map, for a trip or the meeting point. Find the coordinates on openstreetmap.org: right click, "Show address".
::block-map{lat="41.9022" lon="12.4539" zoom="15" height="320" label="Saint Peter's Square"}
::
[block-map, lat="41.9022", lon="12.4539", zoom="15", height="320", label="Saint Peter's Square"]
====
====
<block-map lat="41.9022" lon="12.4539" zoom="15" height="320" label="Saint Peter's Square"></block-map>
QR code
Print it on a poster so people open a page with their phone. Without value it points to the page itself.
::block-qr-code{value="https://www.vatican.va" size="160" caption="vatican.va"}
::
[block-qr-code, value="https://www.vatican.va", size="160", caption="vatican.va"]
====
====
<block-qr-code value="https://www.vatican.va" size="160" caption="vatican.va"></block-qr-code>
Countdown
Counts the days to an event.
::block-countdown{date="2027-07-05T08:30" timezone="Europe/Rome" label="Summer camp" expiredMsg="The camp has started!"}
::
[block-countdown, date="2027-07-05T08:30", timezone="Europe/Rome", label="Summer camp", expiredMsg="The camp has started!"]
====
====
<block-countdown date="2027-07-05T08:30" timezone="Europe/Rome" label="Summer camp" expiredMsg="The camp has started!"></block-countdown>