mirror of
https://github.com/streamwall/streamwall.git
synced 2026-01-30 17:02:49 -05:00
Display Periscope icon for twitter videos
This commit is contained in:
@@ -110,7 +110,11 @@ function StreamIcon({ url, ...props }) {
|
|||||||
return <FacebookIcon {...props} />
|
return <FacebookIcon {...props} />
|
||||||
} else if (host === 'twitch.tv') {
|
} else if (host === 'twitch.tv') {
|
||||||
return <TwitchIcon {...props} />
|
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} />
|
return <PeriscopeIcon {...props} />
|
||||||
} else if (host === 'instagram.com') {
|
} else if (host === 'instagram.com') {
|
||||||
return <InstagramIcon {...props} />
|
return <InstagramIcon {...props} />
|
||||||
|
|||||||
Reference in New Issue
Block a user