Add test that uses embedded HTML with <video> tag

Ref: https://github.com/kaushalmodi/ox-hugo/issues/275
master
Kaushal Modi 7 years ago
parent 434cfff4c1
commit 25e6aea7ad
  1. 13
      test/site/content-org/all-posts.org
  2. 14
      test/site/content/posts/embedded-video.md
  3. BIN
      test/site/static/videos/sample.mp4

@ -368,7 +368,20 @@ stop
#+attr_html: :inlined t
#+RESULTS:
[[file:images/svg-with-hyperlinks.svg]]
* Video :videos:
** Embedded Video :embedded:
:PROPERTIES:
:EXPORT_FILE_NAME: embedded-video
:END:
[[https://www.w3schools.com/html/html5_video.asp][Using ~video~ HTML5 tag]]
#+begin_export html
<video width="320" height="240" controls>
<source src="/videos/sample.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
#+end_export
[[https://sample-videos.com/][Video source]]
* Setting heading anchors
:PROPERTIES:
:EXPORT_FILE_NAME: setting-heading-anchors

@ -0,0 +1,14 @@
+++
title = "Embedded Video"
tags = ["videos", "embedded"]
draft = false
+++
[Using `video` HTML5 tag](https://www.w3schools.com/html/html5%5Fvideo.asp)
<video width="320" height="240" controls>
<source src="/videos/sample.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
[Video source](https://sample-videos.com/)
Loading…
Cancel
Save