Advanced Forum Search Results
-
Figured it out. I need to add new MediaElement to Grid.Children and set its AutoPlay to false.
-
One more thing...
If i create a new MediaElement programmatically and sets its source then also it does not play. Fow example following two code samples does not play any sound but also does not give any error:
MediaElement secondTune = new MediaElement();
secondTune.Source = new ...
-
I tried that but its not still working. Just to clarify, my media is MP3.
I added following in xaml:
<MediaElement x:Name="MyTune" Source="http://localhost:2517/SilverlightApplication1Web/Tunes/MyTune.mp3" AutoPlay="False" />
And then in code i am trying to create more of these like...MediaElement ...
-
I tried create MediaElement at run time but with this approach Media does not even play. It gives me MediaState as Closed.MediaElement newMedia = new MediaElement();
newMedia.Source = new Uri(source);
-
I have a video file that I want to play on two different buttons at different seek time. I can do it by including same video twice with different names but it increases the size of the SL control.
Can I do the same with just one copy of video?
-
Storyboard and DispatcherTimer both fires at frame rate (15.625 milliseconds).
I have a music application in which notes must be played on a rythem and any delay more than 10 milliseconds is not acceptable.
Is there any sleep method available in SL 2.0 which i can use in an storyboard thread to just block and perform operation ...
-
I am using silverlight 2.0 and have created a simple storyboard to act as a timer but the duration i specified is not precisely honored. I have set duration to 1 millisecond but i gets Storyboard_Completed event after 15.629 milliseconds most of the time and this is also not consistent, sometime events get called after 62.516 or 31.256 or just 0 ...
-
I installed silverlight and tools for VS beta 2. When I create a sample silverlight project and just try to build it complains with following error message:
Error 1 The type or namespace name 'Windows' does not exist in the namespace 'System' (are you missing an assembly reference?)
What should I ...
-
Is it possible to access javascript variable from managed code?
-
I have voice enabled web application. Currently I am using SAPI for it but it requires to first setup SAPI on client machine so it ends up for demo only and not much commercial use.
Second application I am working on is a Music project. I want online users to just play their instruments and my silverlight application will capture it and ...