Add gfycat.com embedding
This commit is contained in:
parent
fe4b037536
commit
6fe203bcc9
@ -8163,6 +8163,15 @@
|
||||
});
|
||||
}
|
||||
},
|
||||
gfycat: {
|
||||
regExp: /.*gfycat.com\/(?:iframe\/)?(\S*)/,
|
||||
el: function(a) {
|
||||
var div;
|
||||
return div = $.el('iframe', {
|
||||
src: "http://gfycat.com/iframe/" + a.dataset.uid
|
||||
});
|
||||
}
|
||||
},
|
||||
SoundCloud: {
|
||||
regExp: /.*(?:soundcloud.com\/|snd.sc\/)([^#\&\?]*).*/,
|
||||
style: 'height: auto; width: 500px; display: inline-block;',
|
||||
|
||||
@ -8147,6 +8147,15 @@
|
||||
});
|
||||
}
|
||||
},
|
||||
gfycat: {
|
||||
regExp: /.*gfycat.com\/(?:iframe\/)?(\S*)/,
|
||||
el: function(a) {
|
||||
var div;
|
||||
return div = $.el('iframe', {
|
||||
src: "http://gfycat.com/iframe/" + a.dataset.uid
|
||||
});
|
||||
}
|
||||
},
|
||||
SoundCloud: {
|
||||
regExp: /.*(?:soundcloud.com\/|snd.sc\/)([^#\&\?]*).*/,
|
||||
style: 'height: auto; width: 500px; display: inline-block;',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user