Media Element in Silverlight

Posted by THERAMKUMAR under Silverlight on 4/2/2010 | Views : 5528 | Status : [Member] | Replies : 1
Hi, Friends,

While I am using Media element property, I added MP3 file, but it didn't play at browser while running.
How to play media files?

I am using following code only.
<MediaElement Source="test.mp3"></MediaElement>

T.RAM KUMAR


Responses

Posted by: Vuyiswamb on: 4/3/2010 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
The Source of the mp3 is not using a fully qualified path. try it and see if it works or look at this post

http://www.dotnetspider.com/tutorials/Silverlight-Tutorial-326.aspx

http://forums.silverlight.net/forums/p/17302/57798.aspx

http://www.tinyfrogsoftware.com/how-to-play-sound-files-in-silverlight-20/

Thank you for posting at Dotnetfunda

Vuyiswa Maseko

Thank you for posting at Dotnetfunda
[Administrator]

THERAMKUMAR, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response