Skip to content

Commit 5d8c5c3

Browse files
committed
revert converting thumbnail
1 parent 9c57027 commit 5d8c5c3

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

plugins/domains/loom.com.js

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default {
3838
});
3939
}
4040

41-
var links = [{
41+
return [{
4242
href: iframe.replaceQuerystring(q),
4343
type: CONFIG.T.text_html, // Validator fails because we receive x-frame-options. It actually works fine.
4444
rel: CONFIG.R.player,
@@ -51,17 +51,6 @@ export default {
5151
}
5252
}];
5353

54-
var thumbnail = iframe.placeholder && iframe.placeholder.replace(/\.gif(?=[^.]*$)/i, '.jpg');
55-
if (thumbnail) {
56-
links.push({
57-
href: thumbnail,
58-
type: CONFIG.T.image,
59-
rel: CONFIG.R.thumbnail
60-
});
61-
}
62-
63-
return links;
64-
6554
},
6655

6756
tests: [

0 commit comments

Comments
 (0)