import React from "react"; import { Popover, PopoverInteractionKind, PopoverPosition, } from "@blueprintjs/core"; import { Colors } from "constants/Colors"; import VideoComponent, { VideoComponentProps } from "./VideoComponent"; import styled, { AnyStyledComponent } from "styled-components"; import { ControlIcons } from "icons/ControlIcons"; const PlayIcon = styled(ControlIcons.PLAY_VIDEO as AnyStyledComponent)` position: relative; top: 10px; cursor: pointer; &:hover { svg { path { fill: ${Colors.POMEGRANATE}; } } } `; const PlayerWrapper = styled.div` import React, { Ref } from "react"; width: 600px; height: 400px; `; function PopoverVideo(props: VideoComponentProps) { return (