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
9
votes
3 answers

Make MediaElement support more video codecs

Is there a way to make MediaElement support more video codecs like mkv, flv, mov etc.? If not, is there any other control that supports more video codecs?
Elmo
  • 6,409
  • 16
  • 72
  • 140
8
votes
1 answer

WPF MediaElement white color is shown as gray

I try to show a MP4-Video using the MediaElement in WPF. Playing the video works just fine. However, the white colors are displayed grayish. When I open the video file in some other video player, the white color is shown as it should. Has anyone…
Auraner
  • 119
  • 4
8
votes
1 answer

How to stream Webcam in WPF?

Can I stream a live video in WPF application from my web cam? If yes, then How?
Ramesh Soni
  • 15,867
  • 28
  • 93
  • 113
8
votes
1 answer

MediaElement.NaturalDuration throws exception when querying TimeSpan.TotalSeconds

I have a winforms form in which I use a MediaElement. Everything is working (more or less) perfectly. The only thing is, after loading a media file (mp3) accessing NaturalDuration.TimeSpan.TotalSeconds throws an exception InvalidOperatoinException:…
Mario The Spoon
  • 4,799
  • 1
  • 24
  • 36
8
votes
3 answers

Google Chrome does not want to play mp4 using mediaelement.js

I'm using the latest mediaelement.js on my website to play html5 video. There is something strange in Google Chrome. He plays one video, but doesn't want to play the other video in mp4 format and doesn't fallback to webm. Both videos were converted…
rndm
  • 369
  • 1
  • 2
  • 12
7
votes
1 answer

Video html5: how to get currently played source

in a
pvledoux
  • 973
  • 1
  • 10
  • 23
7
votes
0 answers

Silverlight: Can MediaElement play from a downloading stream?

I am trying to find out whether it is possible to play a video in a MediaElement from a stream which is still downloading, rather than waiting for it to finish? I have researched the topic pretty thoroughly, but found no definitive answer. I am…
Cypher
  • 71
  • 3
7
votes
1 answer

iOS Safari - Playing media element (from click) with delay - NotAllowedError

iOS Safari requires a touch event to play/pause media elements. Without, you get the: NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission. caught…
7
votes
1 answer

How to make a wpf MediaElement play when its Source is a https uri

In a wpf standalone application (.exe) I have included a MediaElement in the MainWindow
7
votes
1 answer

Mediaelement repeatbehavior fails when binding to xpath

I'm trying to get video's to repeat forever using MediaElement. I found the code below at http://msdn.microsoft.com/en-us/library/ms741866.aspx and it works fine.
KenS
  • 71
  • 2
7
votes
1 answer

Playing video while buffering: relating buffered bytes to buffered duration

I am working on an application which requires streaming a video from one computer (lets call it video computer) to another computer (user computer). The streaming model is such that video file bytes are sent from video computer to user computer "as…
CtrlAllDelete
  • 73
  • 1
  • 5
7
votes
1 answer

How to use mouseDown and mouseUp on

I have a button declared in XAML which has MouseDown and MouseUp attributes that both call a specified method...
7
votes
6 answers

Any success rendering HDVideo with WPF MediaElement? Is there a better video player option for WPF?

I'm using a WPF MediaElement to render HD video in an application. When the size of the MediaElement gets over about 300 units square the video stutters and the computer is nearly totally unresponsive. I need to render the video full screen. Has…
Charley Rathkopf
  • 4,720
  • 7
  • 38
  • 57
6
votes
1 answer

MediaElement disrupting Audio Podcast (MediaPlayer) in WP7

I've had an app fail in the Marketplace due to my audio MediaElement not accounting for background music. Okay. So I've gone about scouring everything and figuring out how account for this: Don't set the Source of my WMA in XAML. Load the source…
Todd Main
  • 28,951
  • 11
  • 82
  • 146
6
votes
1 answer

WPF media formats

Does WPF have built-in support for any audio and video formats? I'm going to be using the MediaPlayer and MediaElement classes to build a little media player, and for now, I don't want to have to deal with codecs and formats that .NET doesn't have…
rafale
  • 1,704
  • 6
  • 29
  • 43
1
2
3
57 58