Skip to main content

Microsoft Silverlight

Answered Question media element with popup java scriptRSS Feed

(0)

TheRekz
TheRekz

Member

Member

4 points

40 Posts

media element with popup java script

I want to play a popup video when the mouse is over a certain area of an image using java script, how can I do this?

Jonathan Shen – MSFT
Jonathan...

All-Star

All-Star

24939 points

2,425 Posts

Microsoft
Answered Question

Re: media element with popup java script

Hi TheRekz,

TheRekz:
I want to play a popup video when the mouse is over a certain area of an image using java script, how can I do this?

Seems it is a javascript issue indeed.   We need to use Html Image Maps.  Please reference to this sample.  This will show you how to raise a javascript when moving from a certain area of the Image. 

To play a popup video in silverlight, we need to know how to call  a silverlight function via Javascript.  Please reference this.  Now, you can show the Popup and play the video.

Best regards,

Jonathan

 

Jonathan Shen
Microsoft Online Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities