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

get current playing song list windows phone 7

I want to display the list of songs in current playing lists, If users play music in my app, I could know what playlist is playing but if they were playing in zune app then switch to my app, my song list will be empty, even though the playlists is…
Nghia Nguyen
  • 2,585
  • 4
  • 25
  • 38
4
votes
2 answers

Rendering buttons on top of MediaElement in WPF

I have a MediaElement object in my XAML, which loads my movie just fine. What I want to do is render the play, pause and stop buttons right in the center my MediaElement object, kind of like how if you embed a YouTube video on a web page, you get…
Icemanind
  • 47,519
  • 50
  • 171
  • 296
4
votes
0 answers

Safari: AudioContext MediaElementAudioSourceNode does not respect playbackRate

I'm currently working on an application that uses the AudioContext api to control audio for both video clips and background audio. We would like to use the AudioContext (and therefore MediaElementAudioSourceNodes) so we can make adjustments to the…
4
votes
1 answer

How to pass a h264 encoded MediaRecorder stream to a MediaSource in Chrome?

Our screen recording chrome extension allows user to record their screen using the getDisplayMedia API, which returns a stream that is fed into the MediaRecorder API. Normally, we'd record this stream using the webm video container with the newer…
Tom
  • 8,536
  • 31
  • 133
  • 232
4
votes
2 answers

New Xamarin Forms 4.6 MediaElement not working for Android

I tried out the new Xamarin Forms 4.6.0.726 MediaElement control in a very simple Xamarin Forms Shell Project. I added the MediaElement control in a ContentPage and set its properties (AutoPlay on true, IsLooping on true, Source on an mp4 file,…
4
votes
2 answers

How to loop music in WP7 BGM?

private void button1_Click(object sender, RoutedEventArgs e) { MediaElement Lala = ((MediaElement)App.Current.Resources["backgroundMusic"]).Stop(); if (Lala == true) { …
lala
  • 41
  • 3
4
votes
1 answer

MediaElement in Canvas doesnt Strech to Fill

I want to view a fullscreen video and thought this works like this:
martinyyyy
  • 1,652
  • 3
  • 21
  • 44
4
votes
1 answer

Why is it more suitable to use a MediaElementAudioSourceNode for longer sounds?

Complete question: Why is it more suitable to use a MediaElementAudioSourceNode rather than an AudioBuffer for longer sounds? From MDN: Objects of these types are designed to hold small audio snippets, typically less than 45 s. For longer sounds,…
Maxime Dupré
  • 5,319
  • 7
  • 38
  • 72
4
votes
1 answer

How to know which video formats my WPF application can play?

I have a small application that allows the playback of videos. First off, I do not restrict the user to select particular types of file. What I want to do is make sure I can play the file the user selected. How do I get a list of available codecs,…
Brian Hvarregaard
  • 4,081
  • 6
  • 41
  • 77
4
votes
1 answer

UWP new MediaPlayerElement questions

Actually i am updating my App to Windows 10 version 1607, for using all the new APIs. Before i used a MediaElement for playing audio and video. Now i moved to the new MediaPlayer and MediaPlayerElement. Now i have two questions about them: Is it no…
andy
  • 509
  • 1
  • 8
  • 21
4
votes
0 answers

On IOS10 , playing a wav file using https gives Failed to load resource: Plug-in handled load, safari

On IOS10 beta, safari browser, when we try to play a wav file from a source which is https then the player does not play the file. instead gives below error "Failed to load resource: Plug-in handled load""
4
votes
0 answers

MediaElement not always playing video in WPF application

we created a test application were users interact with it using gestures. Each user gets to interact with all gestures in a sequential manner. When the users first is introduced to a new gesture, a small instructional movie is played for the user…
bmla
  • 319
  • 3
  • 10
4
votes
1 answer

mediaelement position setting problem

i use this line to set my media element position OurElement.Position = TimeSpan.FromSeconds(NowPlayingParameters.Position); but it stays 00:00 why can't it jump to the position value
Miroo
  • 795
  • 3
  • 13
  • 35
4
votes
3 answers

Allow users to play mp3 files but don't expose them directly on the web

I want to store some mp3s in a folder which is not public, can't be directly accessed through the web and allow users to hear/download the songs with a browser only if they are logged in. How can I do that? I do my web development with Django, but…
Victor
  • 247
  • 3
  • 13
4
votes
1 answer

How to Set MediaElement Position Dynamically in Silverlight?

I am trying to set the Media Elements position by following code: MediaElement musicPlayer = new MediaElement(); musicPlayer.Position = new TimeSpan(0, 0, 30); musicPlayer.Source = new Uri(strMediaFileURL,…
Simsons
  • 12,295
  • 42
  • 153
  • 269