mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-18 13:52:51 +00:00
17 lines
332 B
React
17 lines
332 B
React
import React from "react";
|
|
import ReactPlayer from 'react-player'
|
|
|
|
export function ResponsivePlayer({ url, ...props }) {
|
|
|
|
return (
|
|
<div className='player-wrapper'>
|
|
<ReactPlayer
|
|
className='react-player'
|
|
url={url}
|
|
width='100%'
|
|
height='100%'
|
|
{...props}
|
|
/>
|
|
</div>
|
|
);
|
|
} |