]> git.mxchange.org Git - friendica.git/blobdiff - view/jot-header.tpl
move html for oembeded videos in template. fix oembed discovery
[friendica.git] / view / jot-header.tpl
index 8174026abbdf4071e769e82862dac8140b72fad1..22bd0aa5b22650bfcd76be3108bc4c4bda044a12 100644 (file)
@@ -142,20 +142,13 @@ function initEditor(cb){
                if(reply && reply.length) {
                        reply = bin2hex(reply);
                        $('#profile-rotator').show();
-                       $.get('parse_url?url=' + reply, function(data) {
+                       $.get('parse_url?binurl=' + reply, function(data) {
                                tinyMCE.execCommand('mceInsertRawHTML',false,data);
                                $('#profile-rotator').hide();
                        });
                }
        }
 
-       function jotGetVideo() {
-               reply = prompt("$utubeurl");
-               if(reply && reply.length) {
-                       tinyMCE.execCommand('mceInsertRawHTML',false,'[youtube]' + reply + '[/youtube]');
-               }
-       }
-
        function jotVideoURL() {
                reply = prompt("$vidurl");
                if(reply && reply.length) {