Skip to content

Commit 2f7ac37

Browse files
committed
Small corrections to the last commit
for commit 01d894f
1 parent 01d894f commit 2f7ac37

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

public/scripts/request.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ let hasCodecSupport = false;
1717
function checkCodecSupport() {
1818
return new Promise((resolve) => {
1919
const video = document.createElement('video');
20-
// const support = video.canPlayType('video/mp4; codecs="avc1.42E01E"') === "probably";
21-
const support = false
20+
const support = video.canPlayType('video/mp4; codecs="avc1.42E01E"') === "probably";
2221
hasCodecSupport = support;
2322
resolve({ hasCodecSupport: support });
2423
});

public/styles/request.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ body {
142142
background: rgba(255, 107, 107, 0.9);
143143
color: white;
144144
font-size: 0.7rem;
145-
padding: 0.25rem;
145+
padding: 0.1rem;
146146
text-align: center;
147147
font-weight: 600;
148148
}

0 commit comments

Comments
 (0)