Exclude Twitch from auto-embedding due to autoplay bug.

This commit is contained in:
ccd0 2015-10-09 22:02:15 -07:00
parent 1ab71ee17c
commit dca5e1a330

View File

@ -57,7 +57,7 @@ Embedding =
$.on embed, 'click', Embedding.cb.toggle
$.after link, [$.tn(' '), embed]
if Conf['Auto-embed'] and !Conf['Floating Embeds'] and !post.isFetchedQuote
if Conf['Auto-embed'] and !Conf['Floating Embeds'] and !post.isFetchedQuote and key isnt 'TwitchTV' # XXX https://github.com/justintv/Twitch-API/issues/289
$.asap (-> doc.contains embed), ->
Embedding.cb.toggle.call embed