Auto-tag Twitch as video (#324)

This commit is contained in:
Peter Bhat Harkins 2016-10-31 14:30:42 -05:00 committed by joshua stein
parent ef0601f65b
commit d8e31fb000

View file

@ -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",
};