-
From @TommyLITommy (#448 (comment))
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Embedding slides on the web is relatively simple, and can be performed in two steps:
<div style="position:relative;padding-bottom:56.25%;">
<!-- 56.25 comes from aspect ratio of 16:9, change this accordingly -->
<iframe
style="width:100%;height:100%;position:absolute;left:0px;top:0px;"
frameborder="0"
width="100%"
height="100%"
allowfullscreen
allow="autoplay"
src="slides.html">
</iframe>
</div> Important You need to make sure that the path to A detailed guide is available in the Sharing HTML and animation files section of the online documentation. For example, I use Manim Slides to publish my conference slides on my website, and I save the animation files in the Online documentationIf you are using Sphinx to render a documentation, you can use the Sphinx directive to include interactive slides online! Single page caseIf you just want to share your animations on a webpage, and you do not want to create a website just for this, you can take a look at the manim-slides-starter repository, that automates most of the process. Then, your slides will be accessible online thanks to GitHub pages1, see example. Footnotes
|
Beta Was this translation helpful? Give feedback.
Embedding slides on the web is relatively simple, and can be performed in two steps:
manim-slides convert MySlides slides.html
, see the documentation;index.html
, but it can be any HTML page), add the following:Important
You need to make su…