import * as React from "react"; import * as Url from "url-parse"; import { VideoWebView } from "./video-webview"; export const isMixer = (url: string) => { return url.indexOf("mixer.com/") > -1; }; export const getMixerEmbed = (url: string) => { let parsedUrl = new Url(url); let pathParts = parsedUrl.pathname.split("/"); let channel = pathParts[1]; return `