We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Be sure to search for your issue before opening a new one. <ReactPlayer ref={playerRef} width={'100%'} height={'520px'} url={D.video.videoUrl} playing={D.isPlaying} // controls // onPlay={() => setD((draft) => ({ ...draft, isPlaying: true }))} onEnded={() => { console.log('视频播放已完成') // 当前的视频数据 接口设置学完 记录学习进度等 }} />
The text was updated successfully, but these errors were encountered:
import ReactPlayer from 'react-player'
Sorry, something went wrong.
当这个组件渲染时 报错130
duplicate of #1746
No branches or pull requests
Be sure to search for your issue before opening a new one.
<ReactPlayer
ref={playerRef}
width={'100%'}
height={'520px'}
url={D.video.videoUrl}
playing={D.isPlaying}
// controls
// onPlay={() => setD((draft) => ({ ...draft, isPlaying: true }))}
onEnded={() => {
console.log('视频播放已完成') // 当前的视频数据 接口设置学完 记录学习进度等
}}
/>
Current Behavior
Expected Behavior
Steps to Reproduce
Environment
Other Information
The text was updated successfully, but these errors were encountered: