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

Embedding videos in the Tooltip

1 Answer 55 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
vincent
Top achievements
Rank 1
vincent asked on 17 Sep 2009, 09:27 PM
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?

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 23 Sep 2009, 10:31 AM
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.

Regards,
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.
Tags
ToolTip
Asked by
vincent
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or