Use https
authorDiego Medina <diego@fmpwizard.com>
Tue, 6 Oct 2015 19:47:23 +0000 (15:47 -0400)
committerAnthony Fok <foka@debian.org>
Mon, 12 Oct 2015 19:38:33 +0000 (13:38 -0600)
The Hugo site uses HTTPS but the video link was HTTP, which made chrome block the video

docs/layouts/shortcodes/youtube.html

index 9b4a37cb95e4bdb68f70d62bc1ae559aa7b590c8..ce7dd05087f3fa87dc04e6aebc0f1ec97e3edf3f 100644 (file)
@@ -1,4 +1,4 @@
 <div class="video-container">
-<iframe class="youtube-player" type="text/html" width="100%" height="auto" src="http://www.youtube.com/embed/{{ index .Params 0 }}" allowfullscreen frameborder="0">
+<iframe class="youtube-player" type="text/html" width="100%" height="auto" src="https://www.youtube.com/embed/{{ index .Params 0 }}" allowfullscreen frameborder="0">
 </iframe>
 </div>