Added native Twitch GIPHY support

This commit is contained in:
nutty
2026-09-08 06:48:29 +10:00
parent db9614176e
commit 6e7df385b1
2 changed files with 7 additions and 0 deletions
+2
View File
@@ -353,6 +353,8 @@ function ConstructMessageFromParts(parts) {
return emoteImg + bitLabel;
case "mention":
return part.text;
case "gif":
return `<img src="${EscapeHTML(part.url)}" class="gif">`;
default:
return `<img src="${EscapeHTML(part.imageUrl)}" alt="${EscapeHTML(part.text)}" title="${EscapeHTML(part.text)}" class="emote">`;
}
+5
View File
@@ -169,6 +169,11 @@ li {
transform: translate(0px, 0.4em);
}
.gif {
width: auto;
padding: 20px 0px;
}
.productImage {
height: 3em;
border-radius: 0.25em;