diff --git a/src/client/app/common/views/components/url-preview.vue b/src/client/app/common/views/components/url-preview.vue index 4466cf7165..95dafa8f4c 100644 --- a/src/client/app/common/views/components/url-preview.vue +++ b/src/client/app/common/views/components/url-preview.vue @@ -160,12 +160,12 @@ export default Vue.extend({ 'web.tv', 'youtube.com', 'youtu.be' - ].some(x => x == url.hostname || url.hostname.endsWith(`.${x}`)))) + ].some(x => x == url.hostname || url.hostname.endsWith(`.${x}`))) this.player = info.player; - } - }); - } - } + } // info.url + }) // json + }); // fetch + } // created });