Support Home › Support Home › CVIT › HTML Template › Portfolio – iFrame behaviour
Tagged: CVIT HTML, iFrame, Portfolio
It’s embedded video as content of Gallery Item.
I open the Gallery item, video is there, it plays… all good.
Than I close the Item http://prntscr.com/lcv4dg using X up-righ corner. The Gallery item closes, but video still plays (i can hear it)
It is a bug? How to fix it?
It’s not a bug. Because there is no relation to the modal close button with YouTube video stops playing. In this issue, you need to pause the video before close the modal.
ThemeLooks Support Team
Is there any code I could implement making “modal closing button X” be also associated with action “pause video”?
Which script html, css, java? would be the best to implement such a code?
We are really sorry to say that there is no code available and you could try JAVA to implement that function. However, we are not sure that will work or not.
So how would you recommend to do that?
Do you have any specific code in mind to try to put in any of the files provided with template?
We are really sorry to say that there is no code available.
Moreover, please learn more about our support policy (item support includes & not includes), here https://www.themelooks.com/support/support-policy/ before post a topic or ask a question.