How to find out when a youtube embedded iframe is loaded
问题 I am trying to embed a youtube iframe into my application and listen to when that youtube video is loaded and ready to be played; my idea is to have a user press a play button, and not be shown the autoplaying embedded video until the video is completely ready to be played, and thus the user doesn't have to press a button and then wait for the embedded player to load. I tried taking a look at this youtube iframe api documentation and various related stack overflows but still find myself stuck