1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-06-30 22:06:38 -04:00

update constants

This commit is contained in:
2022-02-26 12:06:41 -05:00
parent f6627580eb
commit f2fb718d0f
7 changed files with 24 additions and 15 deletions

View File

@ -60,8 +60,15 @@ const Video = ({ src, thumbnail, subs, autoplay, className, ...rest }: VideoProp
return (
<div className={classNames(styles.wrapper, className)}>
{/* @ts-ignore */}
<ReactPlayer width="100%" height="100%" url={url} config={config} controls={!autoplay} {...rest} />
<ReactPlayer
width="100%"
height="100%"
url={url}
controls={!autoplay}
// @ts-ignore
config={config}
{...rest}
/>
</div>
);
};