README posodobljen z novim pluginom za embed

master
Jurij Podgoršek 2021-09-24 02:05:32 +02:00
parent 7c82d78228
commit 0d6afecf70
1 changed files with 21 additions and 0 deletions

View File

@ -4,6 +4,27 @@
#### Markdown Guide #### 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/) [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 #### PeerTube Video embed
Primer <https://kino.kompot.si> 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". <https://docs.joinpeertube.org/use-watch-video?id=sharing-a-video> <https://thinkmoult.com/embed-peertube-video-on-your-website.html> Primer <https://kino.kompot.si> 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". <https://docs.joinpeertube.org/use-watch-video?id=sharing-a-video> <https://thinkmoult.com/embed-peertube-video-on-your-website.html>
**Lepši embed čez vso širino elementa** dobiš če iframe oviješ z `<div class="video">` ter `</div>` in pa ifram-u NE določiš "width" ter "height". **Lepši embed čez vso širino elementa** dobiš če iframe oviješ z `<div class="video">` ter `</div>` in pa ifram-u NE določiš "width" ter "height".