Hi, is there a way to embed youtube/vimeo videos? The plugin that exists is only for rst and the embed code does not work/only create an iframe of the blog itself.
The Markdown spec allows you to put <script>
and any other HTML tags directly in your Markdown source. If there is a particular problem with the embed code you are using, it most likely has nothing to do with Pelican.
Personally, I host my videos directly, in which case it's very easy to simply include the relevant tags right in the Markdown source:
<script src="http://vjs.zencdn.net/4.0/video.js"></script>
<video id="pelican-installation" class="video-js vjs-default-skin" controls
preload="auto" width="683" height="384" poster="/static/screencasts/pelican-installation.png"
data-setup="{}">
<source src="/static/screencasts/pelican-installation.mp4" type='video/mp4'>
</video>
Resulting video: http://hackercodex.com/guide/pelican-static-site-generator-install/
@kdeldycke thanks your solution worked:)
Most helpful comment
The Markdown spec allows you to put
<script>
and any other HTML tags directly in your Markdown source. If there is a particular problem with the embed code you are using, it most likely has nothing to do with Pelican.Personally, I host my videos directly, in which case it's very easy to simply include the relevant tags right in the Markdown source:
Resulting video: http://hackercodex.com/guide/pelican-static-site-generator-install/