I am having a youtube video embedded and underneath I have a textArea comment about the video, all I want to do is when I click the video, the text comment disappear as a small bar underneath the video.
The text comment appears again when the video is finished or I click on the minimized bar.
But I cannot get the event of the textarea neither the youtube video, how can I achieve this ?
Thanks
On my site I used youtube apis.
I used the onStateChange event to listen for the video stopping or starting, then do my stuff in a function as follows: