getting issues in next-cloudinary package's cldVideoPlayer component

Options
skysparko
skysparko Member Posts: 4
edited October 2023 in Developer APIs

Dear Cloudinary Team,

I hope this message finds you well. My name is Skysparko, a longstanding member of the Cloudinary community. I have consistently admired the quality and efficiency of your services, which is why I am reaching out today with a specific concern regarding my recent project. To optimize performance and adhere to best practices, I have chosen to implement the next-cloudinary component.

Below is the code snippet illustrating how I have integrated the component into my project:

jsx
"use client"
import { CldVideoPlayer } from "next-cloudinary";
import "next-cloudinary/dist/cld-video-player.css"; 
const Home = () => {
  return (
   <div>
      <CldVideoPlayer 
       src="slide0_mqxni4" 
       width={1920} 
       height={1080} 
       muted={true} 
       autoPlay="on-scroll" /> 
   </div>
  );
};

export default Home;

However, while utilizing Next.js 14 (App Router), I have encountered a few issues that are impeding the seamless execution of my project. I would greatly appreciate your guidance and expertise in resolving these concerns.

Your assistance in this matter is invaluable to me, and I am looking forward to your prompt response.

Thank you for your time and support.

Warm regards,

Skysparko


Tagged:

Answers