mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-27 02:16:30 +00:00
17 lines
332 B
JavaScript
17 lines
332 B
JavaScript
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>
|
|
);
|
|
} |