Support embedding mobile.twitter.com links.

This commit is contained in:
ccd0 2017-07-15 02:34:44 -07:00
parent fdb76f59f0
commit 4eb41ad88a

View File

@ -399,7 +399,7 @@ Embedding =
el
,
key: 'Twitter'
regExp: /^\w+:\/\/(?:www\.)?twitter\.com\/(\w+\/status\/\d+)/
regExp: /^\w+:\/\/(?:www\.|mobile\.)?twitter\.com\/(\w+\/status\/\d+)/
style: 'border: none; width: 550px; height: 250px; max-height: 80vh;'
el: (a) ->
el = $.el 'iframe'