Hi
I have a flash video control on a page running in a window, set to autplay on page load.
This works fine, and starts when the window is opened.
I order to ensure the media does not keep playing when the window is closed I have this
script (from Telerik):
However this also seems to ensure that the media does not play if the window is called again,
unless the parent page is refreshed by the visitor.
How can I get round this?
Thanks
Clive
I have a flash video control on a page running in a window, set to autplay on page load.
This works fine, and starts when the window is opened.
I order to ensure the media does not keep playing when the window is closed I have this
script (from Telerik):
<script type="text/javascript"> |
function ShowWindow(oWnd) { |
oWnd.add_close(OnClientClose); //set a function to be called when RadWindow is closed |
} |
function OnClientClose(oWnd) { |
oWnd.setUrl("about:blank"); // Sets url to blank |
} |
</script> |
However this also seems to ensure that the media does not play if the window is called again,
unless the parent page is refreshed by the visitor.
How can I get round this?
Thanks
Clive