From 8ad8457ebedcd5a4968cdebd8ddb97561bd0bc65 Mon Sep 17 00:00:00 2001 From: George Deac Date: Wed, 22 Jan 2020 21:54:31 +0200 Subject: [PATCH 1/2] Add files via upload --- scripts/communityModules/chat/FloofChat.html | 920 ++++++++++--------- 1 file changed, 483 insertions(+), 437 deletions(-) diff --git a/scripts/communityModules/chat/FloofChat.html b/scripts/communityModules/chat/FloofChat.html index ccfc547b2e..89b07c177b 100644 --- a/scripts/communityModules/chat/FloofChat.html +++ b/scripts/communityModules/chat/FloofChat.html @@ -1,438 +1,484 @@ - - - - - - Title - - - - - - - - - - - - - -
-
- - - -
- -
- - - - Redock -
-
-
-
- -
- - - - - - + + + + + + Title + + + + + + + + + + + + + +
+
+ + + +
+ +
+ + + + Redock +
+
+
+
+ +
+ + + + + + \ No newline at end of file From 7b97fa879dab12331ee19a20aab53cdc25a463c3 Mon Sep 17 00:00:00 2001 From: George Deac Date: Sun, 26 Jan 2020 01:18:15 +0200 Subject: [PATCH 2/2] Update FloofChat.html --- scripts/communityModules/chat/FloofChat.html | 48 +------------------- 1 file changed, 1 insertion(+), 47 deletions(-) diff --git a/scripts/communityModules/chat/FloofChat.html b/scripts/communityModules/chat/FloofChat.html index 3a0e9e17f4..a1e84e132f 100644 --- a/scripts/communityModules/chat/FloofChat.html +++ b/scripts/communityModules/chat/FloofChat.html @@ -70,40 +70,6 @@ //Start George Function //Function provided by George Deac - - // Note soundcloud and vimeo integration is disabled since we cannot support mp4/mp3 encoding at this time - // Soundcloud oembed jQuery api script modified for embdeding by class name - /* - document.addEventListener("DOMContentLoaded", function(event) { - (function ($) { - $.fn.scembed = function(){ - var datasource = 'https://soundcloud.com/oembed'; - return this.each(function () { - var container = $(this); - var mediasource = $(container).attr("sc_url"); - var params = 'url=' + mediasource + '&format=json&iframe=true&maxwidth=480&maxheight=120&auto_play=false&show_comments=false'; - $.ajaxopts = $.extend($.ajaxopts, { - url: datasource, - data: params, - dataType: 'json', - success: function (data, status, raw) { - $(container).html(data.html); - }, - error: function (data, e1, e2) { - $(container).html("Can't retrieve player for " + mediasource); - }, - }); - $.ajax($.ajaxopts); - }); - }; - })(jQuery); - - $(function(){ - $("div.sc-embed").scembed(); - }); - }); -*/ - //linky function (function ($) { @@ -223,18 +189,6 @@ elContent = "

" + this + ""; break; } - //case !!this.match(/(https?:\/\/)?(www\.)?(vimeo\.com)/): - // var vimeoMatch = this.match(/^.*(vimeo\.com\/)((channels\/[A-z]+\/)|(groups\/[A-z]+\/videos\/))?([0-9]+)/); - // if(vimeoMatch && vimeoMatch[5]){ - // elContent = "

" + this + ""; - // break; - // } - //case !!this.match(/(https?:\/\/)?(www\.)?(snd\.sc|soundcloud\.com)/): - // sndscMatch = matches.match(/^.*(https?:\/\/)?(www\.)?(snd\.sc|soundcloud\.com)([^#\&\?]*).*/); - // if(sndscMatch && sndscMatch[4]){ - // elContent = "

" + this + ""; - // break; - // } // else fall through to default default: elContent = elContent.replace(this, "
" + this + ""); @@ -514,4 +468,4 @@ - \ No newline at end of file +