Skip to content

Commit

Permalink
Add a demo video
Browse files Browse the repository at this point in the history
also fixup the display of video
  • Loading branch information
naveen521kk committed Nov 21, 2023
1 parent 9764f6f commit c8e7fb9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/posts/projects/manim-binder.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ tags: ["manim", "python", "binder"]
You can view the project live on the
[Manim Documentation](https://docs.manim.community/en/stable/examples.html).

Below is a demo video of the project:

<video controls>
<source src="/assets/manim-binder/demo.mp4" type="video/mp4" />
</video>


## Project's Background

[Manim](https://manim.community) is a powerful animation engine for explanatory
Expand Down
5 changes: 5 additions & 0 deletions src/styles/posts-style.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@
padding-bottom: 0.5rem;
padding-top: 0.5rem;
}

video {
width: 100%;
height: auto;
}
}

@media (min-width: 640px) {
Expand Down
Binary file added static/assets/manim-binder/demo.mp4
Binary file not shown.

0 comments on commit c8e7fb9

Please sign in to comment.