Skip to content

Commit d9404cd

Browse files
committed
domains: cleanup Vimeo image patch that stopped working
1 parent eba9f94 commit d9404cd

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

plugins/domains/vimeo.com.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -96,18 +96,6 @@ export default {
9696
links.push(thumbnail);
9797
}
9898

99-
// Also let's try and add a bigger image.
100-
if (/* options.getProviderOptions('images.loadSize') !== false */
101-
CONFIG.providerOptions && CONFIG.providerOptions.images
102-
&& CONFIG.providerOptions.images.loadSize !== false
103-
&& /\-d_\d{2,4}(?:x\d{2,4})?(?:\.jpg)?$/.test(oembed.thumbnail_url)) {
104-
links.push({
105-
href:oembed.thumbnail_url.replace(/\-d_\d{2,4}(?:x\d{2,4})?((?:\.jpg)?)$/, `-d?f=webp`),
106-
type: CONFIG.T.image_webp,
107-
rel: CONFIG.R.thumbnail
108-
});
109-
}
110-
11199
return links;
112100
},
113101

0 commit comments

Comments
 (0)