Mercurial > hg > nginx-site
diff xslt/content.xslt @ 2262:086e307d8b28
Regenerated.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Mon, 29 Oct 2018 19:52:32 +0300 |
parents | 02dedcb347e5 |
children |
line wrap: on
line diff
--- a/xslt/content.xslt Mon Oct 29 19:52:32 2018 +0300 +++ b/xslt/content.xslt Mon Oct 29 19:52:32 2018 +0300 @@ -179,5 +179,10 @@ <xsl:template match="nobr"> <nobr> <xsl:apply-templates/> </nobr> </xsl:template> <xsl:template match="br"> <br/> </xsl:template> - + <xsl:template match="video[@id]"> + <div class="video"> + <iframe type="text/html" src="https://www.youtube.com/embed/{@id}?modestbranding=1&rel=0&showinfo=0&color=white" frameborder="0" allowfullscreen="1"> + </iframe> + </div> + </xsl:template> </xsl:stylesheet>