Questions tagged [mediaelement]

mediaelement is an abstraction used to represent multimedia viewed by a user

mediaelement is defined as a class object in several frameworks, and encapsulates audio, video, and audio/video instances

References

863 questions
0
votes
1 answer

C# Surface (WPF) / Soundeffects -> Dictionary

due to the lack of Sound Effects in Microsoft Surface Applications I tried to built a "Sound bank" with sound files (.wav) in a Dictionary. The sound file is short. path = PathToFile My "Sound bank": Dictionary soundBank = new…
0
votes
2 answers

Controls to use for Video Stream?

I currently have LibVLC setup with a C# project and it uses a Panel to output the video stream. As WPF is better suited for some GUI options I want to implement, I have now switched my project over to it. However, I noticed that WPF Controls don't…
user470760
0
votes
1 answer

How set source of mediaElement in metro app c#?

I need set source of mediaElement control in my metro app for Windows 8 ! Here is my code : string requestUrl = "ms-appx://ArcadiaDJ/Musique/test.mp3"); mediaElement_SoundEffect.Source = new Uri(requestUrl); mediaElement_SoundEffect.play(); …
Mehdi Bugnard
  • 3,889
  • 4
  • 45
  • 86
0
votes
1 answer

loading mediaelementjs in an inline colorbox, pause video onClose

tried a few things and can't get this working. I have an inline video element that I'm loading into a colorbox, then applying mediaelementjs to it. I'm firing mediaelement on the colorbox onOpen event. Problem is that the movie keeps playing when I…
JorgePinon
  • 345
  • 2
  • 9
0
votes
1 answer

Is there a standard Control for creating an in-app video player?

Im making a videoplayer in a wp7 app. Im using mediaelement to show the video, and sets its source from a url. Functionality i wanted are play/stop-buttons, forwarding/rewinding, a progressindicator (for the progress of the video itself) and show a…
0
votes
1 answer

Can I set the frames per second of a MediaElement in C#?

I have a media element that normally plays videos fine, but some videos with high framerates(120) play at the wrong speed. I assume it is something to do with the video not having the right information in the header, and am looking into setting it…
Rorrik
  • 270
  • 1
  • 3
  • 15
0
votes
1 answer

Exocortex(Windows 7 Update) seems to interfere with MediaElement

I have a working program that could load and play a video file. It has a canvas over the video on which an interrupt draws events loaded from a separate text or csv file. It was all working marvelously and I have been using it for weeks, but I…
Rorrik
  • 270
  • 1
  • 3
  • 15
0
votes
2 answers

How to create a background music?

I need to run a background music in WP7 Silverlight application. I need it to keep playing when navigating between pages. Also I don't want it to stop when another sound effect is played.
Hamzeh Soboh
  • 7,572
  • 5
  • 43
  • 54
0
votes
1 answer

How do I add a dynamic list of MediaElements to a StackPanel in Silverlight 5?

I am working in C# and Silverlight 5, and I am trying to display one or more audio and/or video files that have been retrieved from a database table as a byte array. I decided the best way to get those byte arrays into a usable format was to create…
0
votes
1 answer

Catching MediaPlayer Exceptions from WPF MediaElement Control

I'm playing video in a MediaElement in WPF. It's working 1000's of times, over and over again. Once in a blue moon (like once a week), I get a windows exception (you know the dialog Dr. Watson Crash??) that happens. The MediaElment doesn't expose an…
ScottCate
  • 2,365
  • 7
  • 21
  • 35
0
votes
1 answer

Windows 8 Metro App MediaElement.SetSource (can not change the volume during playback)

I am making Windows 8 Metro style app. I want to be able to run different sounds at the same time and manage them. For this goals I have created MediaPlayService which should contain methods which allow me to do that. I found one issue that after…
Illia
  • 1
  • 2
0
votes
1 answer

using MediaElement play video issue

I am using the popular sl2videoplayer from codeplex to play video, and everything is fine when I play remote video on an IIS web server. Sl2videoplayer could be found here, http://www.codeplex.com/sl2videoplayer But when I open the default.html…
George2
  • 44,761
  • 110
  • 317
  • 455
0
votes
1 answer

How to set MediaElement source

I'm making a music player in C# WPF. Files are added to a ListBox which works as the playlist for the MediaElement. In order to only show the filename without path and extension in the ListBox, I made a Song class which has properties for path and…
spex
  • 15
  • 1
  • 4
0
votes
1 answer

Set source and play a single mp3 file on each button on windows phone 7

i'm trying to make an application for windows phone 7.1 for schoool. I want to play a sound for each pressed button on my application (just like istantfun button for android) but i have some problem. If i declare on my xaml all the 120 Media…
0
votes
1 answer

mediaelement keep playing after lock

I have a medialement with a url-source which streams a radio station. Everything works fine and music plays as expected! When I press the shutdown button and the phone locks, the streaming stops. How can I fix that? Even if I press the "flag"…
metz
  • 11
  • 2