blob: 12885da57b69008234f0c770534f2489146fc641 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
const MovieVideoPlayer = async ({ id: id }) => {
const videoFrameGenerator = (id) => {
return (
<iframe
src={`https://vidsrc.pro/embed/movie/${id}`}
allowFullScreen
referrerPolicy="origin"
height={720}
className="w-full h-[240px] lg:h-[720px] rounded-lg"
></iframe>
);
};
return <section>{videoFrameGenerator(id)}</section>;
};
export default MovieVideoPlayer;
|