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
Add height and width parameters to core.display.Video #11328
Comments
Sure feel free to send a PR if you looked at the code and it seem easy enough. You can also wait a few days if you are participating to hacktoberfest. |
Hi @Carreau |
Hi @IpshitaC The source code for the current Video object can be found here: ipython/IPython/core/display.py Lines 1257 to 1317 in 94b894d
You will likely need to search how to update the |
see #11353, I leave that open, as some improvements are possible, mainly if users are passing string like |
…o percentages and other units can be passed
…o percentages and other units can be passed
I'm viewing some videos in a notebook. The videos are larger than the width of my notebook so I can't see the entire frame unless I scroll left and right. I would like to specify a height and width so I can view the entire frame at once. I think it'd be pretty cool if it could resize automatically, but I'd be happy with the ability to set the height and width.
I can post some pictures if it helps.
I've been doing this work around:
It seems like a simple PR, I could make it if you all like this.
The text was updated successfully, but these errors were encountered: