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?
Please show an example of how to pause or stop youtube video embedded into tooltip using Youtube API and JS.
I need the On Client Hiding function to gets the reference of the player and eventually stops the video.
Thank you so much
Please show an example of how to pause or stop youtube video embedded into tooltip using Youtube API and JS.
<
telerik:RadToolTip
ID
=
"VideoToolTip"
runat
=
"server"
TargetControlID
=
"TutorialTrigger"
RelativeTo
=
"BrowserWindow"
Position
=
"Center"
Modal
=
"true"
RenderInPageRoot
=
"true"
EnableShadow
=
"false"
Skin
=
"Windows7"
Animation
=
"Resize"
AutoCloseDelay
=
"0"
HideEvent
=
"ManualClose"
ShowDelay
=
"300"
ManualClose
=
"true"
ManualCloseButtonText
=
"Close"
OnClientHide
=
"OnClientHiding"
>
<
div
style
=
"padding: 10px;"
>
<
iframe
width
=
"853"
height
=
"480"
src
=
"http://www.youtube.com/embed/xxxxxxxx"
frameborder
=
"0"
allowfullscreen></
iframe
>
</
div
>
</
telerik:RadToolTip
>
I need the On Client Hiding function to gets the reference of the player and eventually stops the video.
Thank you so much