-
Notifications
You must be signed in to change notification settings - Fork 200
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
proposal for a html_video extension #651
Comments
Heya, have you seen https://github.com/sphinx-contrib/video |
In my use case, I teach using live interactive notebooks with embedded |
FWIW
this turns out to render in both jlab and jupyter book, without the need for messing with paths (except of course for the constraint to store the video in |
@chrisjsewell .. video:: _static/video.mp4 are you suggesting that we can use
instead ? and if yes, would that work even if the video is not under |
yep exactly; there should be no reason it does not work exactly like for RST (the same as for every other directive) I haven't had a chance to try out though, maybe you can report back |
so it feels like I must be doing something very wrong, because: I create a notebook and add this in a cell
so first in JupyterLab with then in the output of jupyter book I see this |
to be exhaustive, here's the versions that I have installed
|
finally I just noticed that with the one combo that does work (within jupyter book output, referring to a video stored under |
Context
this is a follow-up to
jupyter-book/jupyter-book#1249
Proposal
in essence, the proposal is to create a new
html_video
extension that would behave much likehtml_image
and would let users insert rawvideo
html tagsthe main effect being - as far as I am concerned - for the referred media file to be copied over in the jb build area
Tasks and updates
in particular the
<video>
tag differs a bit from<img>
in that it allows for asrc
attribute, but also to insert<source>
-tagged children in a way that makes it a little more complex to deal withThe text was updated successfully, but these errors were encountered: