diff --git a/scripts/communityScripts/chat/FloofChat.html b/scripts/communityScripts/chat/FloofChat.html index 3f45651581..7ca04491cb 100644 --- a/scripts/communityScripts/chat/FloofChat.html +++ b/scripts/communityScripts/chat/FloofChat.html @@ -172,13 +172,23 @@ case ext == "JPG": case ext == "GIF": case ext == "JPEG": - elContent = elContent.replace(this, "

" + this + "📲"); + elContent = elContent.replace(this, "

" + this + + "📲"); break; case ext == "iframe": - elContent = elContent.replace(this, "
"); + elContent = elContent.replace(this, "
"); break; case ext == "webm": - elContent = elContent.replace(this, "

" + this + "📲"); + elContent = elContent.replace(this, "

" + this + + "📲"); break; case protocol === "HIFI": case protocol === "hifi": @@ -187,12 +197,22 @@ case !!this.match(/(https?:\/\/)?(www\.)?(youtube\.com\/watch\?v=|youtu\.be\/)([^& \n<]+)(?:[^ \n<]+)?/g): var youtubeMatch = this.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/); if (youtubeMatch && youtubeMatch[2].length == 11) { - elContent = "

" + this + "📲"; + elContent = "

" + this + + "📲"; break; } // else fall through to default default: - elContent = elContent.replace(this, "
" + this + "📲"); + elContent = elContent.replace(this, "
" + this + + "📲"); break; }