311 Commits

Author SHA1 Message Date
ccd0
188422f1ae Replace CrossOrigin.json with simpler CrossOrigin.ajax and a CrossOrigin.cache making use of $.cache. 2019-03-10 21:11:43 -07:00
ccd0
c739197e26 Fix performance issues with video hover preview in long threads. #2214 2019-01-24 17:36:15 -08:00
ccd0
dd56277fe3 Add M4A to embeddable audio types. #2202 2019-01-22 20:53:47 -08:00
ccd0
6961850e16 Add FLAC to embeddable audio types. 2019-01-07 04:45:49 -08:00
ccd0
22df74d45f Merge remote-tracking branch 'HushBugger/twitter-image-embeds' 2018-10-21 00:03:23 -07:00
HushBugger
6953519ee1 Embed all images that have Twitter-style :\w+ prefixes 2018-10-04 20:43:17 +02:00
ccd0
c64b220e06 Bugfixes for f86d947377ba87a12c4e9b54830cef2a81e91c40: Use CrossOrigin.json for Link Title. 2018-09-18 03:00:10 -07:00
ccd0
f21e57e67f Use CrossOrigin.json for Github Gist embedding. 2018-09-18 01:24:20 -07:00
ccd0
f86d947377 Use CrossOrigin.json for Link Title. 2018-09-18 01:20:52 -07:00
HushBugger
6f93a1fb6a Enable more general Twitter image embedding
You can get Twitter images in different sizes by appending a
size (":thumb", ":large", ":orig", etc.) to the URL. Those weren't
embeddable yet, because they no longer look like ordinary image URLs.

This makes them embeddable.
2018-08-07 18:24:06 +02:00
Johnny
dffb3639a9
Support Vocaroo HTTPS embedding
Previously HTTP was forced, causing an unnecessary Mixed Content warning.
2018-02-24 08:34:00 +11:00
ccd0
da45a0a9eb Support VidLii embedding. 2018-02-19 19:26:55 -08:00
ccd0
256050c060 After February 20th 2018, all embed and API requests to strawpoll.me must use a secure connection (https). 2018-02-14 09:30:52 -08:00
ccd0
b489f059a1 Make Embedding work on Tinyboard-linkified links. 2018-01-24 00:52:32 -08:00
ccd0
f19a662c8d Ignore bogus small height values from twitframe.com, and make iframe resizable. #1517 2017-10-02 02:23:30 -07:00
ccd0
c41c6d412b WebExtensions doesn't like protocol relative URLs in AJAX requests. 2017-09-28 02:23:59 -07:00
ccd0
8559f78de7 Stop matching Clyp user pages. 2017-07-16 01:25:39 -07:00
ccd0
4eb41ad88a Support embedding mobile.twitter.com links. 2017-07-15 02:34:44 -07:00
ccd0
fdb76f59f0 Update openings.moe embedding. 2017-07-15 02:27:54 -07:00
ccd0
e9281514a7 Update Loopvid embedding. 2017-07-15 02:16:09 -07:00
ccd0
15e5d5a0a1 No more HTTP-only embeds. 2017-07-15 01:27:41 -07:00
ccd0
db1f62800b LiveLeak supports HTTPS now. 2017-07-15 01:26:17 -07:00
ccd0
cf0d9e0d41 Fix Gist embedding. 2017-07-15 01:11:54 -07:00
ccd0
09abb3da02 Support Link Title for Clyp. 2017-07-14 23:47:52 -07:00
ccd0
785e3339d9 Update Clyp embedding. 2017-07-14 23:43:33 -07:00
Julian Orth
1970d3e425 Hide related videos when a youtube video is paused 2017-05-06 16:51:18 +02:00
ccd0
fc8684282f Activate appropriate features on previews shown in archive. #1256 2017-01-28 03:48:07 -08:00
ccd0
0f6a98e5e9 Use is.4chan.org for building posts if 'Use Faster Image Host' is off.
Also consolidate the image host related code.
2017-01-05 19:12:42 -08:00
ccd0
c5f175ed13 Add support for is2.4chan.org host. 2017-01-05 13:01:17 -08:00
ccd0
d062dd3334 Fix bug from v1.13.2.0 causing errors when non-embeddable link is in inlined/previewed quote. 2016-11-26 20:42:39 -08:00
ccd0
4c33ff2142 Impose max-height on Tweets. 2016-11-26 20:21:11 -08:00
ccd0
6e62b3bec9 Avoid needless running of Embedding.init. 2016-11-26 18:49:27 -08:00
ccd0
e39560da01 Fix catalog removal for embeds in clones. 2016-11-26 18:16:46 -08:00
ccd0
3bd568d8de Add Dailymotion support to Cover Preview. 2016-11-26 17:35:14 -08:00
ccd0
15ba2dd06a Merge remote-tracking branch 'ihavenoface1/patch-3' 2016-11-26 17:05:14 -08:00
noface
c9b0fad0f9 Accidentally used width instead of height. 2016-11-27 02:02:39 +01:00
noface
2293ea3393 Run on clones as well. 2016-11-27 01:52:12 +01:00
noface
cae1df14e3 Pass height to UI.hover. 2016-11-27 01:27:17 +01:00
noface
c59de414f2 Return unless preview exists. 2016-11-27 01:04:47 +01:00
noface
851a53417e asapTest is unused. 2016-11-27 00:54:37 +01:00
noface
0699d8f3db Pass uid to service. 2016-11-27 00:33:55 +01:00
ccd0
b3f7a9395c Size embedded Tweets correctly. #1021 2016-11-26 15:23:16 -08:00
noface
03bafe98b0 Add function cover preview. 2016-11-27 00:22:34 +01:00
noface
f7a7351b8c Disable pointer events instead of hiding the element when dragging an embed. 2016-11-26 21:00:56 +01:00
ccd0
0094826c51 Fix unwanted nested links due to text before 4chan link. #891, #1172 2016-11-26 03:19:56 -08:00
ccd0
5cc930f67d Make (unembed) link still work if switched to Floating Embeds without reloading. 2016-11-26 03:17:17 -08:00
ccd0
68f123d3fa Don't run catalog embed removal on pruned posts. 2016-11-26 03:11:02 -08:00
ccd0
e5a0213461 Remove obsolete complexities in embedding code. 2016-11-26 02:36:00 -08:00
ccd0
9745dcc707 Fix iframes from Embedding being reloaded when switching to catalog. 2016-11-26 02:08:33 -08:00
ccd0
b315a08122 Fix auto-embed on non-JSON-generated posts. 2016-11-26 00:26:00 -08:00