video showing condition

This commit is contained in:
VividTruthKeeper 2023-03-07 15:14:30 +05:00
parent 2e7e70e88d
commit 0c99f8a155
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ const AsideNews = ({ title, date, img, category, id, video }: Props) => {
<Link to={`/news/${id}`} className="aside-news">
<div className="aside-news-wrapper">
<div className="aside-news-image">
{video && video.length > 0 ? (
{video && video.length > 53 ? (
<ReactPlayer
url={video}
controls