Uros Gu 83eaefa252 | ||
---|---|---|
assets | ||
config | ||
content | ||
plugins | ||
themes | ||
vendor | ||
.gitignore | ||
.htaccess | ||
.sync-exclude.lst | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md | ||
README_Pico.md | ||
composer.json | ||
composer.lock | ||
index.php |
README.md
Link do sajta:
https://zapatista.kompot.si
Pico CMS (dokumentacija, plugins, themes)
Markdown Guide
Basic Syntax | Extended Syntax | Hitra referenca - "plonklistek"
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 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".
primer: <div class="video"><iframe sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.anartist.org/videos/embed/470f5abd-55e4-4708-a685-5715063387ea?warningTitle=0" frameborder="0" allowfullscreen></iframe></div>
YouTube Video embed
navodila: https://support.google.com/youtube/answer/171780?hl=en
Lepši embed čez vso širino elementa: na enak način kot v zgornjem primeru za PeerTube