diff --git a/src/renderer/App.js b/src/renderer/App.js index b7147b99..b036bc90 100644 --- a/src/renderer/App.js +++ b/src/renderer/App.js @@ -404,14 +404,7 @@ export default Vue.extend({ const v = this electron.ipcRenderer.on('openUrl', function (event, url) { if (url) { - v.$store.dispatch('getVideoParamsFromUrl', url).then(({ videoId, timestamp }) => { - if (videoId) { - v.$router.push({ - path: `/watch/${videoId}`, - query: timestamp ? { timestamp } : {} - }) - } - }) + v.handleYoutubeLink(url) } })