Embed Peertube Videos on Your Website
Fleeting- Référence externe : https://thinkmoult.com/embed-peertube-video-on-your-website.html
Embed Peertube videos on your website
Embedding a Peertube video with an iframe
If you watch your video on its instance, its URL looks a little like this:
All you need to do to embed it is change the link so that the word watch turns into embed. Then, you can put it in a simple HTML iframe, and it will work on any website. Here’s an example of the same video embedded on a website, with some CSS styling for some flexible video scaling. Pay attention to how the URL changes below:
<iframe src="https://peertube.social/videos/embed/ad395c9b-9702-4060-ac05-4c94b64956ab" style=“min-height: 400px; width: 100%;” frameborder=“0” sandbox=“allow-same-origin allow-scripts” allowfullscreen=“allowfullscreen”></iframe> That’s it! You can see som