Skip to content
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

Better Video capture implementation #3

Open
kolibril13 opened this issue Jun 23, 2022 · 0 comments
Open

Better Video capture implementation #3

kolibril13 opened this issue Jun 23, 2022 · 0 comments

Comments

@kolibril13
Copy link
Member

kolibril13 commented Jun 23, 2022

In order to capture video output, the capture_video magic searches for the video location in an HTML string.
It works, but it is not pretty.
It would be much better to directly access the IPython.core.display.Video object to read the video location.
Here is the corresponding code:

https://github.com/kolibril13/jupyter-capture-output/blob/249538534630dee8a08acdb4a1268d59cc40fd57/jupyter_capture_output/co_cellmagic.py#L91-L117

@maartenbreddels, @krassowski : Maybe you might be interested in this challenge, I saw that you already worked with videos in Jupyter widgets at ipywebrtc and jupyter-manim.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant