mediaelement Questions

4

Solved

I understand that ViewModel shouldn't have any knowledge of View, but how can I call MediaElement.Play() method from ViewModel, other than having a reference to View (or directly to MediaElement) i...
Anachronistic asked 17/5, 2012 at 7:46

9

Solved

Seems simple enough, but I cannot figure out any way to determine what the state of a MediaElement is. There are various properties for some states (such as IsBuffering) but I can't find any for st...
Tincture asked 2/12, 2010 at 19:26

5

Solved

I have two displays. I want to make a media player and I want to play video full screen on my secondary display. So I’m trying to make a media player using WPF Here is the code so far I wrote Sc...
Glimp asked 2/4, 2012 at 6:56

2

When playing a live audio stream, like web radio, through <audio> or Audio(), the pause event can fire in (at least) three ways: user clicks on the pause button (with <audio controls>...
Elseelset asked 12/2, 2020 at 7:10

3

Solved

I'm struggling with the following issue: I am building a WP8 application using the MVVM patern. I have a media element on my view.xaml and the logic to control this media element (for example, pla...
Sinter asked 24/3, 2014 at 9:59

1

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, t...
Smothers asked 11/9, 2018 at 7:14

0

I have a C#/WPF application and I need to play a video stream over HTTPS (I'm talking about a YouTube videos, direct URLs extracted by using YoutubeExplode). It's well known that WPF MediaElement ...
Prothalamion asked 19/7, 2018 at 20:50

2

I've google all over for this issue, but couldn't find anything. I am in a situation where I need to remove a source = createMediaElementSource so that I can create it again. I am using an audio an...
Wordless asked 18/2, 2016 at 21:5

5

Solved

In c#/wpf I added a progressbar and mediaelement to my window. The idea was that progressbar is displaying how much is been played in the mediaelement. I tried it with the following xaml: <Win...
Cockoftherock asked 30/10, 2010 at 10:6

1

Solved

I m using MediaElement to play a web video. When I left the page I noticed in the Task Manager that my app was still using 10% of network and didn't drop till it finished downloading video. I trie...
Enumerate asked 8/2, 2016 at 17:43

3

Solved

Is there a way to play a rtsp:// stream in WPF (or alternatively WinForms)? I have tried MediaElement and MediaUriElement and none of them worked. I have also read a lot about WMP being able to pl...
Elongation asked 23/4, 2012 at 12:43

5

Solved

Is it possible to use the WPF MediaElement to play streaming video from a System.IO.Stream object? The Stream object is being retrieved from a WCF service that stores the media files.
Lanctot asked 19/8, 2011 at 6:7

3

Solved

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?
Lur asked 4/9, 2012 at 17:39

1

Solved

In C# what formats does the MediaElement support?
Protozoology asked 8/2, 2015 at 13:3

5

I'm playing a video in WPF.i want it to loop so what I did is when the mediaended event fires, I play back my video. so this will get me a loop. prob is why do u I have to create new source again? ...
Amber asked 12/5, 2011 at 8:34

4

Solved

I am using Image and MediaElement in wpf project, where I show Images and Videos from file system. I have few timers, which load files to Image/MediaElement controls. Everything works for 4-5 hours...
Naos asked 15/4, 2014 at 5:52

1

Solved

In a wpf standalone application (.exe) I have included a MediaElement in the MainWindow <Window x:Class="Media.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xm...
Yan asked 1/8, 2014 at 13:59

3

Solved

I have a WPF-application with a MediaElement which I use to run a video. I don't want the video to autoplay when loaded, so I set the LoadedBehavior to Manual. <MediaElement LoadedBehavior="Ma...
Demurrer asked 28/8, 2009 at 13:9

3

I’m using MediaElement for playing videos and BackgroundAudioPlayer for playing audio. Here is a case. I’m playing remote audio via BackgroundAudioPlayer. Then I want to play video and before Med...
Conjoin asked 7/12, 2012 at 18:55

1

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 byte...
Jeffries asked 10/11, 2013 at 17:5

1

Solved

I have a sound player class that doesn't have any visuals at all, and I am trying to use a MediaElement to play my sounds. In all the test projects, in which the MediaElement is embedded in the XAM...
Exigible asked 25/10, 2013 at 13:23

3

Solved

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 d...
Lectionary asked 9/7, 2012 at 10:16

1

Solved

I'd like to manually set speed ratio for my MediaElement object in Windows Phone 8. There is no SpeedRatio property anymore, and I don't seem to be able to use SmoothStreamingMediaElement (part of ...
Porringer asked 30/4, 2013 at 12:21

1

Solved

I have a button declared in XAML which has MouseDown and MouseUp attributes that both call a specified method... <Button x:Name="btnBackward" Content="Backward" MouseDown="btnBackward_Mo...
Gorgerin asked 21/8, 2013 at 17:50

2

Solved

i am using mediaelementjs for playing video on my website but i need to call some function at the END/pause of video.So please tell me how an i do this? Thanks in advance
Cypher asked 1/8, 2011 at 9:42

© 2022 - 2024 — McMap. All rights reserved.