I have a Popup.There are a text input field and a Youtube component(hide) on the Popup.
when I open the Popup and input a youtube link in the text field, I set the link to the Youtube components and it will show(fadeIn).
It works well.But
The problem is when I click a button try to close the Popup,I can't close at the first time.I need to close it again.like bellow:
This my popup.
I input youtube Id into the text field ,then the youtube component show.
Then I click the "Close" button, The Popup doesnot close and video lost the link.
Then I click "Close" button again, It really closed.
Anything wrong?
*I use the javascript to show the youtube component like:
Appery('youtube').attr("src", "https://www.youtube.com/embed/" + videoid + "?wmode=transparent");
Appery('youtube').fadeIn(300);
*I use the standard event "close popup" to close the popup.