Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
0
Answer
Media Element source property in code behind
pavani pavani
15y
8.3k
1
Reply
Hi,
I am developing one application in that I have more than 5 media elements.
I want to assign path to media element source from database.For that I have created one silverlight application and there is a ClientBin in silverlight website, I have saved my uploaded videos in clientbin and that path in database.
But from code behind if i assign the path its not showing anything.
my sample code is
mplayer.Source = new System.Uri(@"D:\sample\sample.Web\ClientBin\Lake.wmv", UriKind.Absolute);
Can you please tell me is there any other way to assign path to source property or what is the mistake I have done in that code.
Thanks in Advance
Pavani
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
Parent Canvas mouse button effecting on Child Canvas
Media Elements usage based on some index value that matches with media element name from code behind