correct video showing condition

This commit is contained in:
VividTruthKeeper 2023-03-07 15:10:03 +05:00
parent 5aa25aaffa
commit 2e7e70e88d
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ interface IProps {
const NewsArticleImg = ({ img, video }: IProps) => {
return (
<div className={"news-article-image"}>
{video && video.length > 0 ? (
{video && video.length > 53 ? (
<ReactPlayer url={video} controls width="100%" height="100%" />
) : (
<LazyLoadImage