I am facing an issue with triggering props when playing a Vimeo video on my webpage. Here's a snippet of my code:
import Vimeo from '@u-wave/react-vimeo';
const handleVimeoProgress = (data: any) => {
console.log('Progress:', data.percent);
};
<Vimeo
video="..."
width="850"
height="400"
onProgress={handleVimeoProgress}
autoplay
/>
Software versions:
"@u-wave/react-vimeo": "^0.9.10",
"next": "14.0.3",
The video is playing fine, but the handleVimeoProgress
function doesn't seem to be triggered. Any suggestions?