-
Notifications
You must be signed in to change notification settings - Fork 3
Some small howto
Matteo Ghetta edited this page Apr 11, 2018
·
2 revisions
Has be done with raw html
tag, like:
.. raw:: html
<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; height: auto;">
<iframe src="https://www.youtube.com/embed/YLYD2wn0p2A" frameborder="0" allowfullscreen style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"></iframe>
</div>
WARNING to check on local build if the video is visible, you have to open a new html page! Somethings remains in cache and shows the old video (if some is there)