-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Video syntax support #86
Comments
UPDATE: The latest Chrome 75 enables BGPT by default. It's not yet stable but video rendering in inline SVG is almost good.
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
MEMO: According to #205, the video control (by Firefox has very stable video support over the years. I recommend to use Firefox if someone (who is see this) want to use |
Just found an option to play/pause video by clicking on it with disabled control: <videohtml muted class="bg" onclick="this.paused ? this.play() : this.pause(); this.blur()" onpause=""><source src="img/video.mp4" type="video/mp4"></video>
@yhatt is there any simple option to start video when slide become active and stop video when switching to another slide? |
@kvaps No. Even if there, it is not in the scope of Marpit framework and Marp Core because HTML slide deck probably you have seen is controling by Marp CLI's bespoke template. (FYI: Marp ecosystem architecture in the contributing guideline) I recommend to create new issue in Marp CLI's issue tracker if you want the option. UPDATE: Renamed the title of this issue to make clear Marpit's resposibillity. |
@yhatt Any news on this? Seems very interesting! |
i'd love to bring this up again. i can code, but i woudnt know where to start in this project. also maybe the project aim has changed in the last 3 years. i think video is a basic requirement in lots of presentations. |
We still have no actions. Video syntax can add via existing markdown-it plugin (markdown-it-html5-media, markdown-it-video, and so on), and users who needs them should be already using them. So we have decided that it is no need to be a built-in feature. Find out use cases in wild. And don't forget Marpit/Marp can use |
We are considering to support video by Markdown image syntax. It could provide better video experiences like Deckset, on the HTML slide deck.
Also refer to yhatt/marp#60.
Basically these would be converted into HTML5
<video>
elements.Planning features
Do 👍
![]()
with video extension into<video>
elementwidth
,height
, and syntax for background (keyword and percentage)autoplay
,loop
,muted
(andmute
alias for compatibillity of Deckset)Considering 🤔
![](https://www.youtube.com/watch?v=ZwzY1o_hB5Y)
(An another issue?)Don't 👎
autoplay
meta keyword should decide within integrated apps (e.g. marp-core, marp-cli, marp-web...).Restrictions
In inline SVG mode, Chromium's rendering bug 467484 will affect to
<video>
elements. But it would be fixed by an experimental BGPT feature (--enable-blink-gen-property-trees
).The text was updated successfully, but these errors were encountered: