diff options
| -rw-r--r-- | res/client.js | 4 | ||||
| -rw-r--r-- | src/client/Main.hx | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/res/client.js b/res/client.js index c0e1cd2..aa76441 100644 --- a/res/client.js +++ b/res/client.js @@ -1285,10 +1285,6 @@ client_Main.prototype = { el1.className = "smile-preview"; el1.dataset.src = emote1.image; el1.title = emote1.name; - if(tag1 == "video") { - el1.autoplay = true; - el1.loop = true; - } smilesWrap.appendChild(el1); } } diff --git a/src/client/Main.hx b/src/client/Main.hx index 5644fdd..ea4fc84 100644 --- a/src/client/Main.hx +++ b/src/client/Main.hx @@ -495,10 +495,6 @@ class Main { el.className = "smile-preview"; el.dataset.src = emote.image; el.title = emote.name; - if (tag == "video") { - (cast el : VideoElement).autoplay = true; - (cast el : VideoElement).loop = true; - } smilesWrap.appendChild(el); } } |
