You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would expect the console to contain logs showing "videoRef.current is present" and "onIframeAdded".
Desktop (please complete the following information):
OS: Windows
Browser: Chrome
Version: 120
Additional context
I'm trying to add react-lite-youtube-embed to a Next.js app (v14). We have a number of event handlers we need to attach to the YouTube iframe and I was expecting to do that inside an effect.
The text was updated successfully, but these errors were encountered:
Describe the bug
I'm relatively inexperienced with React and this is my first attempt at using
ref
so it's entirely possible this is my fault.To Reproduce
Here's my code extracted for readability:
Expected behavior
I would expect the console to contain logs showing "videoRef.current is present" and "onIframeAdded".
Desktop (please complete the following information):
Additional context
I'm trying to add react-lite-youtube-embed to a Next.js app (v14). We have a number of event handlers we need to attach to the YouTube iframe and I was expecting to do that inside an effect.
The text was updated successfully, but these errors were encountered: