Add gfycat.com embedding

This commit is contained in:
Kabir Sala 2014-02-12 23:43:01 +01:00
parent fe4b037536
commit 6fe203bcc9
2 changed files with 18 additions and 0 deletions

View File

@ -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;',

View File

@ -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;',