This is a migrated thread and some comments may be shown as answers.

Content still plays in pop up window after closing

1 Answer 32 Views
Window
This is a migrated thread and some comments may be shown as answers.
Andy Green
Top achievements
Rank 2
Andy Green asked on 20 Mar 2015, 10:37 AM
Hi

Not necessarily a problem with the control, just asking if this problem has a solution.

I have a Radwindow that pops up modally and plays a YouTube video, trouble is when I close the window the content continues playing.

Can this be prevented?

Andy

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 20 Mar 2015, 10:46 AM

Hello Andy,

The following article explains how to tackle this: http://www.telerik.com/help/aspnet-ajax/window-troubleshooting-common.html.

To add to the list of ideas - if you have an API to call to pause the player (instead of destroying the page/RadWindow), you can do that in the OnClientClose event instead. In case you are using a content page, you can call a function in it, as shown in this article: http://www.telerik.com/help/aspnet-ajax/window-programming-calling-functions.html.

Regards,

Marin Bratanov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Window
Asked by
Andy Green
Top achievements
Rank 2
Answers by
Marin Bratanov
Telerik team
Share this question
or