-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Google Colab: Video data is no longer automatically embedded in the notebook #3741
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The version spash shown on import has been disabled by default. As for the video: it actually is being generated, Colab can just not display it if it is not directly embedded into the notebook source. The default behavior of this config option ( The corresponding code that needs to be updated is here: manim/manim/utils/ipython_magic.py Lines 172 to 176 in 31f1895
We should change this such that |
Hi, I would like to work on this issue. |
My fix
|
This replicates manually what `config.media_embed = True does automatically. The issue has already been fixed on the main branch an will be available with the upcoming release. |
Thank |
Previously, running the command "from manim import *" all by itself in a Colab cell would result in the output "Manim Community v0.18.0". Then the manim code to make a video could be run in additional cells. With v0.18.1, however, no output is generated running that import command, but the "Manim Community v0.18.1" appears as the output after rendering a manim snippet in a subsequent cell, along with the message about "no video with supported format and MIME type found".
Adding the line config.media_embed=True to the cell with the import command does resolve the issue, but the "Manim Community v0.18.1" output still appears as the output along with the now functioning video.
The text was updated successfully, but these errors were encountered: