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