Made videos display controls by default
This commit is contained in:
parent
f81885106c
commit
8739d829b4
|
@ -46,7 +46,7 @@
|
|||
;; Then videos
|
||||
(replace-regexp-in-string
|
||||
"!!\\[\\([^\\[]*\\)](\\([^\\[]*\\))"
|
||||
(concat (md4tj-begin-tag "video" (list '("src" "\\2") '("type" "video/webm"))) "\\1" (md4tj-end-tag "video"))
|
||||
(concat (md4tj-begin-tag "video" (list '("src" "\\2") '("type" "video/webm") '("controls" "true"))) "\\1" (md4tj-end-tag "video"))
|
||||
;; Then emphasis
|
||||
(replace-regexp-in-string
|
||||
"\\*\\(.*\\)\\*"
|
||||
|
|
|
@ -1 +1,6 @@
|
|||
body {background-color: #00ff00;}
|
||||
body {background-color: #00ff00;}
|
||||
|
||||
video {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
};
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
<html lang="en-us">
|
||||
<head>
|
||||
|
||||
<link rel="stylesheet" href="test_css.css">
|
||||
<title>Test webpage</title>
|
||||
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
|
@ -10,6 +11,7 @@
|
|||
<body>
|
||||
|
||||
|
||||
|
||||
<h1>Hello <code>world</code>!</h1>
|
||||
<h2>Hello world!</h2>
|
||||
<h3>Hello world!</h3>
|
||||
|
@ -20,7 +22,7 @@
|
|||
<br/>
|
||||
<p><a href="https://example.com">Example website</a></p>
|
||||
<p><img src="usbs.png" alt="Example image"></p>
|
||||
<p><video src="test_video.webm" type="video/webm">Example video</video></p>
|
||||
<p><video src="test_video.webm" type="video/webm" controls="true">Example video</video></p>
|
||||
<br/>
|
||||
<ul>
|
||||
<li><p>unordered item 1</p></li>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
@@META charset UTF-8
|
||||
@@META name viewport content width=device-width,initial-scale=1.0
|
||||
@@TITLE Test webpage
|
||||
@@CSS test_css.css
|
||||
# Hello `world`!
|
||||
## Hello world!
|
||||
### Hello world!
|
||||
|
|
Loading…
Reference in New Issue