Content still plays in pop up window after closing

2 posts, 0 answers
  1. Andy Green
    Andy Green avatar
    376 posts
    Member since:
    Aug 2008

    Posted 20 Mar 2015 Link to this post


    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?

  2. Marin Bratanov
    Marin Bratanov avatar
    5128 posts

    Posted 20 Mar 2015 Link to this post

    Hello Andy,

    The following article explains how to tackle this:

    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:


    Marin Bratanov

    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.

Back to Top