import { Fragment, h } from 'preact' import { string } from 'prop-types' import { Iframe } from './styles' const VideoEmbed = ({ url, ...rest }) => { const id = url.split('/').pop() const src = `https://tv.undersco.re/videos/embed/${id}?title=0&warningTitle=0&peertubeLink=0` return (