diff --git a/scripts/communityScripts/chat/FloofChat.html b/scripts/communityScripts/chat/FloofChat.html index 62bb0e625d..7baac63455 100644 --- a/scripts/communityScripts/chat/FloofChat.html +++ b/scripts/communityScripts/chat/FloofChat.html @@ -182,22 +182,22 @@ case ext == "GIF": case ext == "JPEG": elContent = elContent.replace(this, "

" + this - + "📲"); + + "'class=\"responsive z-depth-2\">
" + this + + "📲"); break; case ext == "iframe": elContent = elContent.replace(this, "
"); + + "'width=\"440\" height=\"248\" frameborder=\"0\">"); break; case ext == "webm": elContent = elContent.replace(this, "

" + this - + "📲"); + + "' type='video/" + ext + "'>
" + this + + "📲"); break; case protocol === "HIFI": case protocol === "hifi": @@ -207,21 +207,21 @@ var youtubeMatch = this.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/); if (youtubeMatch && youtubeMatch[2].length == 11) { elContent = "

" + this - + "📲"; + + "' frameborder='0'>
" + this + + "📲"; break; } // else fall through to default default: elContent = elContent.replace(this, "
" + this - + "📲"); + + "');return false;\" href=\"" + this + + "\">" + this + + "📲"); break; }