Merge pull request #2246 from mei23/mei-0816-player

動画プレーヤーの修正
This commit is contained in:
syuilo 2018-08-16 03:17:41 +09:00 committed by GitHub
commit d8f8e19d06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -160,12 +160,12 @@ export default Vue.extend({
'web.tv', 'web.tv',
'youtube.com', 'youtube.com',
'youtu.be' 'youtu.be'
].some(x => x == url.hostname || url.hostname.endsWith(`.${x}`)))) ].some(x => x == url.hostname || url.hostname.endsWith(`.${x}`)))
this.player = info.player; this.player = info.player;
} } // info.url
}); }) // json
} }); // fetch
} } // created
}); });
</script> </script>