14 lines
299 B
TypeScript
14 lines
299 B
TypeScript
import React from 'react';
|
|
import '../../styles/projector.css';
|
|
|
|
interface VideoPlayerProps {
|
|
url: string;
|
|
}
|
|
|
|
export function VideoPlayer({ url }: VideoPlayerProps) {
|
|
return (
|
|
<div className="video-container">
|
|
<video controls src={url} className="projector-video" />
|
|
</div>
|
|
);
|
|
}
|