gifv support?

This commit is contained in:
anarch3 2022-11-18 17:08:26 -05:00
parent cfb29c8598
commit f4acf57fde
5 changed files with 59 additions and 2 deletions

View file

@ -90,3 +90,27 @@ div.nonmedia p {
label {
text-align: center;
}
.video {
position: relative;
}
.video .overlay {
position: absolute;
top: 0%;
left: 70%;
transform: translateY(0%) translateX(70%);
z-index: 1;
border-radius: 25px;
border: 2px solid #73AD21;
padding: 5px;
background-color: #eee;
}
.video .overlay a {
color: #73AD21;
font-size: 12px;
font-weight: 400;
line-height: 20px;
text-align: center;
}

View file

@ -9,6 +9,15 @@ function copyURI(evt) {
});
}
function copyA(evt) {
evt.preventDefault();
navigator.clipboard.writeText(absolutePath(evt.target.getAttribute('href'))).then(() => {
console.log("copied");
}, () => {
console.log("failed");
});
}
function copyPath(evt) {
navigator.clipboard.writeText(absolutePath(evt)).then(() => {
console.log("copied");