Closed Scoder12 closed 4 years ago
Thank you, this is a great idea! I'm just not sure about the reassignment of -r
- this could break the code of some existing users. How would you feel about using another shorthand?
@krassowski Yeah I realized that after my first commit and changed it from -r
and --remote
to only --remote
once I realized that in 20acb22
How about now? If you have anything specific in mind I honestly don't care what the name is.
Great! Thank you for you contribution. I will look into #5 and release a new version then.
Oops, forgot to change the README. It still says --remote
Adds a
--remote
option which sends the video with adata:video/mp4;base64,
URL instead of a relative path. This is useful for when you are working on a remote machine like Google Colab and don't have access to the filesystem. Thedata:
URL sends the entire base64 encoded file in thesrc
of the video HTML if the--remote
option is passed to the cell magic. I have tested this on Google Colab and it works like a charm. Would love to see this pushed so I can shorten by setup cell to just an import rather that all this code. Appreciate this library!