Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/chipsenkbeil/grid-side.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMimmo Cosenza <mimmo.cosenza@gmail.com>2016-06-26 21:43:02 +0300
committerChip Senkbeil <chip.senkbeil@gmail.com>2016-06-26 21:43:02 +0300
commite1abf3e2946e07b6a47c03422f3147d673d0704e (patch)
tree865876d6443493bb08649dfc1a52208ce0867144
parentd3846256bb43410ddcd0288a60884506abeb42ff (diff)
Add playlist and loop parameters (#24)
Add playlist and loop parameters
-rw-r--r--layouts/shortcodes/youtube.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/layouts/shortcodes/youtube.html b/layouts/shortcodes/youtube.html
index f8dba4a..f0e9e9e 100644
--- a/layouts/shortcodes/youtube.html
+++ b/layouts/shortcodes/youtube.html
@@ -1,10 +1,10 @@
<div class="embed video-player">
- <iframe class="youtube-player"
- type="text/html"
- width="640"
- height="385"
- src="http://www.youtube.com/embed/{{ index .Params 0 }}"
- allowfullscreen
+ <iframe class="youtube-player"
+ type="text/html"
+ width="640"
+ height="385"
+ src="http://www.youtube.com/embed/{{ index .Params 0 }}?playlist={{ index .Params 0 }}&loop=1"
+ allowfullscreen
frameborder="0">
</iframe>
</div>