1 parent 9c57027 commit 5d8c5c3Copy full SHA for 5d8c5c3
1 file changed
plugins/domains/loom.com.js
@@ -38,7 +38,7 @@ export default {
38
});
39
}
40
41
- var links = [{
+ return [{
42
href: iframe.replaceQuerystring(q),
43
type: CONFIG.T.text_html, // Validator fails because we receive x-frame-options. It actually works fine.
44
rel: CONFIG.R.player,
@@ -51,17 +51,6 @@ export default {
51
52
}];
53
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
65
},
66
67
tests: [
0 commit comments