Comrades, can anyone help/suggest how to close all the iframe ?
https://jsfiddle.net/sergeybreen/u6o6e5x7/3/Now the following happens:
If you open a spoiler, start the video and then open another spoiler, the previous won't be interrupted(if the video is running, and will play, despite the fact that the spoiler has already snuck in this iframe). How to make the transition to another spoiler, in the previous, all fully cleaned and closed the last iframe? In General, before every opening any spoiler first performed zakisaniya\\closing all the others?
Incorrect now and still is that when Otkrytiye the following spoilers, clicking on play in the iframe iniciouse launch video takes you to videohost link in a new tab... And the users don't have to leave your website. I think if you do close all iframe - should be the norm