
//http://vk.com/video_ext.php?oid=3145131&id=159485516&hash=d821df23b7dc0b54&hd=1
//https://vk.com/video

//                     accountId_videoId
//https://vk.com/video-179298736_456239105
//https://vk.com/video_ext.php?oid=179298736&id=456239105//no
//https://vk.com/video_ext.php?oid=456239105&id=179298736//no

//https://vk.com/video_ext.php?oid=-179298736&id=456239105


//<iframe src="https://vk.com/video_ext.php?oid=-179298736&id=456239105&hash=5d5c32789819f62f" width="640" height="360" frameborder="0" allowfullscreen></iframe>

/* need hash
    if (url.indexOf('vk.') > 0) {
        id = getId(url, 'video-');
	id = id.split('_');
        return embed_url = 'https://vk.com/video_ext.php?oid=' + id[0] + '&id=' + id[1];
    }
*/




imgurl.com 
JSON	
data	{…}
id	f23fVZC
title	null
description	null
datetime	1560204631
type	image/jpeg
animated	false
width	1100
height	1300
size	87030
views	0
bandwidth	0
vote	null
favorite	false
nsfw	null
section	null
account_url	null
account_id	0
is_ad	false
in_most_viral	false
has_sound	false
tags	[]
ad_type	0
ad_url	
edited	0
in_gallery	false
deletehash	1Ts3GSsKGx8540a
name	
link	https://i.imgur.com/f23fVZC.jpg
success	true
status	200



status	200
Charge utile de la réponse	

1

{"data":{↔},"success":true,"status":200}

​status	200
Charge utile de la réponse	


{"data":{"id":"f23fVZC","title":null,"description":null,"datetime":1560204631,"type":"image\/jpeg","animated":false,"width":1100,"height":1300,"size":87030,"views":0,"bandwidth":0,"vote":null,"favorite":false,"nsfw":null,"section":null,"account_url":null,"account_id":0,"is_ad":false,"in_most_viral":false,"has_sound":false,"tags":[],"ad_type":0,"ad_url":"","edited":"0","in_gallery":false,"deletehash":"1Ts3GSsKGx8540a","name":"","link":"https:\/\/i.imgur.com\/f23fVZC.jpg"},"success":true,"status":200}

beautify.io :)
{
	"data": {
		"id": "f23fVZC",
		"title": null,
		"description": null,
		"datetime": 1560204631,
		"type": "image\/jpeg",
		"animated": false,
		"width": 1100,
		"height": 1300,
		"size": 87030,
		"views": 0,
		"bandwidth": 0,
		"vote": null,
		"favorite": false,
		"nsfw": null,
		"section": null,
		"account_url": null,
		"account_id": 0,
		"is_ad": false,
		"in_most_viral": false,
		"has_sound": false,
		"tags": [],
		"ad_type": 0,
		"ad_url": "",
		"edited": "0",
		"in_gallery": false,
		"deletehash": "1Ts3GSsKGx8540a",
		"name": "",
		"link": "https:\/\/i.imgur.com\/f23fVZC.jpg"
	},
	"success": true,
	"status": 200
}


itm.addEvent('click',this.update.closure(this,opt[0]))


	update : function(elm) {
		this.ne.nicCommand(this.options.command,elm);
		this.close();	
	}

	browse : function(elm) {

		fromEditor = true;//Fix window.opener image d'accroche
//this.opts.windowName
//		mediasManager.opts.windowName = 'PluXml Media Manager NicEdit';
//		mediasManager.openPopup('src', true)//PluXml
//		mediasManager.openPopup(null, false)//PluXml no
//		mediasManager.openPopup('src', false)//PluXml
		mediasManager.openPopup('src', true, 'addTextValue')//PluXml #yep + add funk 'addTextValue' in media man html body
	}




/*
	var nicEditorConfig = bkClass.extend({
		buttons : {
			'bold' : {name : __('Click to Bold'), command : 'Bold', tags : ['B','STRONG'], css : {'font-weight' : 'bold'}, key : 'b'},
			'italic' : {name : __('Click to Italic'), command : 'Italic', tags : ['EM','I'], css : {'font-style' : 'italic'}, key : 'i'},
			'underline' : {name : __('Click to Underline'), command : 'Underline', tags : ['U'], css : {'text-decoration' : 'underline'}, key : 'u'},
			'left' : {name : __('Left Align'), command : 'justifyleft', noActive : true},
			'center' : {name : __('Center Align'), command : 'justifycenter', noActive : true},
			'right' : {name : __('Right Align'), command : 'justifyright', noActive : true},
			'justify' : {name : __('Justify Align'), command : 'justifyfull', noActive : true},
			'ol' : {name : __('Insert Ordered List'), command : 'insertorderedlist', tags : ['OL']},
			'ul' : 	{name : __('Insert Unordered List'), command : 'insertunorderedlist', tags : ['UL']},
			'subscript' : {name : __('Click to Subscript'), command : 'subscript', tags : ['SUB']},
			'superscript' : {name : __('Click to Superscript'), command : 'superscript', tags : ['SUP']},
			'strikethrough' : {name : __('Click to Strike Through'), command : 'strikeThrough', css : {'text-decoration' : 'line-through'}},
			'removeformat' : {name : __('Remove Formatting'), command : 'removeformat', noActive : true},
			'indent' : {name : __('Indent Text'), command : 'indent', noActive : true},
			'outdent' : {name : __('Remove Indent'), command : 'outdent', noActive : true},
			'hr' : {name : __('Horizontal Rule'), command : 'insertHorizontalRule', noActive : true}
		},
		iconsPath : '../nicEditorIcons.gif',
		buttonList : ['save','bold','italic','underline','left','center','right','justify','ol','ul','fontSize','fontFamily','fontFormat','indent','outdent','image','upload','link','unlink','forecolor','bgcolor'],
		iconList : {"xhtml":1,"bgcolor":2,"forecolor":3,"bold":4,"center":5,"hr":6,"indent":7,"italic":8,"justify":9,"left":10,"ol":11,"outdent":12,"removeformat":13,"right":14,"save":25,"strikethrough":16,"subscript":17,"superscript":18,"ul":19,"underline":20,"image":21,"link":22,"unlink":23,"close":24,"arrow":26,"upload":27}
	
	});

*/







