The document is shown inside a textfield with an iframe like
Code: Select all
<iframe width="100%" height="100%" src="mydocument.html" frameborder="0"></iframe>
The problem is, when the video is running and the user closes the textfield the video will continue as the close-button cannot diretly influence the video.
Is there a way to stop the video when the window is closed?