From 0d6afecf7061cb260dc7bd6927cf5580ed1ebac7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jurij=20Podgor=C5=A1ek?= Date: Fri, 24 Sep 2021 02:05:32 +0200 Subject: [PATCH] README posodobljen z novim pluginom za embed --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index 8369ae1..1987dd0 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,27 @@ #### Markdown Guide [Basic Syntax](https://www.markdownguide.org/basic-syntax/) | [Extended Syntax](https://www.markdownguide.org/extended-syntax/) | [Hitra referenca - "plonklistek"](https://www.markdownguide.org/cheat-sheet/) + +#### Katerikoli video embed + +Deluje povsod v vsebini, razen v stranski vrstici, kjer je še vedno potrebno kopirat posamezne embede, ki so navedeni nižje. + +``` +[video *LINK*] +``` + +Primeri: +``` +[video https://kolektiva.media/videos/embed/a5c6b8e1-6e9e-4a89-ace4-03b6cf97ce07] +[video https://kolektiva.media/w/mtiCL28GP9gzLC2FPKjs6v] +[video https://tube.mfraters.net/videos/watch/9a2b78db-ef05-4770-9196-8a1fcd243f43] +[video https://vimeo.com/566821117] +[video https://player.vimeo.com/video/566821117] +[video https://youtu.be/NkdUs2Dxv4s] +[video https://www.youtube.com/watch?v=NkdUs2Dxv4s] +[video https://www.youtube.com/embed/NkdUs2Dxv4s] +``` + #### PeerTube Video embed Primer video. Pod videom klikneš na gumb "Share" in izbereš zavihek "Embed", ki ti generira kodo z za embedanje, ki jo potem vstaviš v pejđev markdown. če rabiš več kostumizacije je v "Embed" zavihku spodaj možnost "More customization". **Lepši embed čez vso širino elementa** dobiš če iframe oviješ z `
` ter `
` in pa ifram-u NE določiš "width" ter "height".