Auto-tag Twitch as video (#324)
This commit is contained in:
parent
ef0601f65b
commit
d8e31fb000
|
@ -454,7 +454,7 @@ $(document).ready(function() {
|
|||
$(document).on("blur", "#story_url", function() {
|
||||
var url_tags = {
|
||||
"\.pdf$": "pdf",
|
||||
"[\/\.]((youtube|vimeo)\.com|youtu\.be)\/": "video",
|
||||
"[\/\.]((youtube|vimeo)\.com|youtu\.be|twitch.tv)\/": "video",
|
||||
"[\/\.](slideshare\.net|speakerdeck\.com)\/": "slides",
|
||||
"[\/\.](soundcloud\.com)\/": "audio",
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue