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
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.