commit c644e286eb7f1269a95d29d538f26f2f0d581d30 parent 62ce3508d7b134d90baddb8801ee7bdffe937afe Author: Alex Balgavy <a.balgavy@gmail.com> Date: Sun, 4 Aug 2019 00:34:12 +0200 vim: html video snippet Former-commit-id: 67a5962578641c58cd481974c0f1def607d2c2eb Diffstat:
M | vim/ultisnips/markdown.snippets | | | 8 | ++++++++ |
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/vim/ultisnips/markdown.snippets b/vim/ultisnips/markdown.snippets @@ -18,3 +18,11 @@ date: ${2:YYYY}-${3:MM}-${4:DD} $0 endsnippet + +snippet video "MP4 Video" b +<video width="100%" style="margin-bottom: 1em;" autoplay controls loop playsinline muted> + <source type="video/mp4" src="/video/${1:filename}.mp4" /> + <p>${2:alt text}</p> +</video> +$0 +endsnippet