On the research page js There was a problem when , Use getEventListener Can't get iframe Event listening for inner elements
ifm=document.getElementById('iframe');// Returned a iframeifmAr=ifm.contentDocument.getElementsByTagName('iframe')// Back to iframe Inside iframe Array video=ifmAr[0].contentDocument.getElementById('video_html5_api')// Returned a videogetEventListeners(ifm)// You can get the event listener getEventListeners(ifmAr[0])// Failed to get event listener , An empty object was returned getEventListeners(video)// Similarly, you can't get
Searched a lot of related content , There is no way to solve the problem , If opened F12 Select that... Directly on the web page video, So you can get , It's no use , People are numb
I hope I can find the error in my code , Achieve the goal of obtaining iframe Event listening for the next element !!