Embedding videos in the Tooltip

2 posts, 0 answers
  1. vincent
    vincent avatar
    61 posts
    Member since:
    Jun 2008

    Posted 17 Sep 2009 Link to this post

    I have a youtube video insdie the RadToolTip.  When I close the tooltip, you can still hear the audio in the background.  When I mouse back over the tooltip, the video is still playing.  How do I essentially destroy the tooltip?

  2. Georgi Tunev
    Georgi Tunev avatar
    7207 posts

    Posted 23 Sep 2009 Link to this post

    Hi Vincent,

    This behavior is expected - the tooltip object is not destroyed when it is closed and that is why the player keeps running. I suggest to use the YouTube player's API and to explicitly start or pause the player when the tooltip is being shown or hidden. You could use the OnClientShow and OnClientHide eventhandlers for this purpose.

    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft R3 2016 release webinar banner
Back to Top