Replies: 1 comment
-
Hi @Anudnya93 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have tried using loadedmetadata inside the handlers props. But there aren't any logs getting printed. Kindly help.
const videoCallbacks = {
timeupdate: data => console.log('timeupdate: ', data),
play: data => console.log('play: ', data),
pause: data => console.log('pause: ', data),
fullscreenchange: data => console.log('fullscreenchange: ', data),
ended: data => console.log('ended: ', data),
controlschange: data => console.log('controlschange: ', data),
loadedmetadata: data => console.log('loadedmetadata', data),
loadeddata: data => console.log('loadeddata', data)
}
return (
<Vimeo
videoId={'741193833'}
params={'api=1&autoplay=0'}
={videoCallbacks}
containerStyle={{
height: 150,
width: '100%'
}}
otherProps={{ allowsInlineMediaPlayback: true }}
/>
)
Beta Was this translation helpful? Give feedback.
All reactions