update video blog post

This commit is contained in:
madrilene 2025-03-13 16:27:46 +01:00
parent 67a04b04f5
commit f1f180a453

View file

@ -1,9 +1,10 @@
--- ---
title: 'Post with a video ' title: 'Post with a video'
description: "This starter uses Justin Ribeiro's lite-youtube web component. Add `youtube: true` to frontmatter to activate." description: "This starter uses Paul Irish's lite-youtube-embed web component. You can also use a modified version to display PeerTube videos."
date: 2022-10-31 date: 2022-10-31
tags: tags:
- youtube - youtube
- peertube
- feature - feature
--- ---
@ -14,10 +15,12 @@ This starter uses a [webC version](https://github.com/zachleat/zachleat.com/blob
</div> </div>
A modified version to display [PeerTube](https://joinpeertube.org/) videos is also included. It works similarly, but takes two extra arguments: A modified version to display [PeerTube](https://joinpeertube.org/) videos is also included (Thank you [camperotactico](https://github.com/camperotactico)). It works similarly, but takes two extra arguments:
- `@instance`: The instance hosting the video. - `@instance`: The instance hosting the video.
- `@embed-slug` The slug used for video embedding. - `@embed-slug` The slug used for video embedding.
<div> <div>
<custom-peertube @instance="fair.tube" @slug="8opkviMc2iDUYMwJzG1FQ4" @embed-slug="3bd0b70e-7890-4216-a123-2052363645ff" @label='Back at the Herperduin 💦 - 28/09/2024'></custom-peertube> <custom-peertube @instance="fair.tube" @slug="8opkviMc2iDUYMwJzG1FQ4" @embed-slug="3bd0b70e-7890-4216-a123-2052363645ff" @label='Back at the Herperduin 💦 - 28/09/2024'></custom-peertube>
</div> </div>
[Learn more in the video docs. ](http://localhost:8082/get-started/#video)