Display Periscope icon for twitter videos

This commit is contained in:
Max Goodhart
2020-07-27 14:01:12 -07:00
parent 03ab768407
commit 397d41e26d

View File

@@ -110,7 +110,11 @@ function StreamIcon({ url, ...props }) {
return <FacebookIcon {...props} />
} else if (host === 'twitch.tv') {
return <TwitchIcon {...props} />
} else if (host === 'periscope.tv' || host === 'pscp.tv') {
} else if (
host === 'periscope.tv' ||
host === 'pscp.tv' ||
host === 'twitter.com'
) {
return <PeriscopeIcon {...props} />
} else if (host === 'instagram.com') {
return <InstagramIcon {...props} />