Questions tagged [windows-media-player]

Windows Media Player (abbreviated WMP) is a media player and media library application developed by Microsoft that is used for playing audio, video and viewing images on personal computers running the Microsoft Windows operating system, as well as on Pocket PC and Windows Mobile-based devices. Editions of Windows Media Player were also released for Mac OS, Mac OS X and Solaris but development of these has since been discontinued.

Windows Media Player (abbreviated WMP) is a media player and media library application developed by Microsoft Corporation.

It is used for playing audio & video on personal computers running the Microsoft Windows operating system, as well as on Pocket PC and Windows Mobile-based devices.

Editions of Windows Media Player were also released for Mac OS, Mac OS X and Solaris but development of these has since been discontinued.

Windows Media Player Wiki

421 questions
1
vote
2 answers

How to drag & drop into Windows Media Control

In relation to this post, I would like to offer the possibility to drag and drop video files into the windows media control, so they open automatically. I have activated the AllowDrop property to no effect. I've read that using an image control…
M Rajoy
  • 4,028
  • 14
  • 54
  • 111
1
vote
1 answer

C++ WinRT Playback SpeechSynthesisStream via MediaPlayer::Play() requires some waiting, doesn't it?

I'm trying to playback SpeechSynthesisStream via MediaPlayer in main thread using the code below(minimal example): void SpeakStream(winrt::Windows::Media::Playback::MediaPlayer& media, winrt::Windows::Media::SpeechSynthesis::SpeechSynthesisStream&…
1
vote
0 answers

How can I play a song on a loop using WMPLib ? (C# Windows Forms)

I'm developing a Windows Forms app in C# using VS 2019. I'm using the WMPLib, I created a WindowsMediaPlayer: WMPLib.WindowsMediaPlayer player = new WMPLib.WindowsMediaPlayer(); player.URL = "song.wav"; …
Dev
  • 51
  • 3
1
vote
1 answer

Adding a fullscreen button to a Windows media player object in HTML

Is there a way to tell a Windows Media player object to have a button for fullscreen in this HTML?
user823527
  • 3,644
  • 17
  • 66
  • 110
1
vote
1 answer

How to create a click handler for my XAML button?

I have been trying to have a button that displays a video (which also loops but i've worked that out) through windows media player. I am very new to c# so this is all pretty basic code so far. i'm not sure how to link a button in xaml to my c#…
Mooffy
  • 13
  • 3
1
vote
0 answers

MediaPlayer.Open plays a sound that it opens

I have this: MediaPlayer[] sounds = new MediaPlayer[40]; private void LoadSamples() { for (int i = 0; i < sounds.Length; i++) { try { sounds[i].Open(new Uri([my path here])); } catch { } } } This code works as it should, BUT…
MekyMe
  • 11
  • 1
1
vote
1 answer

Closing UserForm with Windows Media Player Object Returns an Automation Error

I have a UserForm that contains a Windows Media Player object. When the UserForm is initialized it assigns the file URL to the media player object, sets its size and then plays the video. (I have disabled the autoplay feature within the {Custom}…
John W
  • 191
  • 2
  • 6
  • 14
1
vote
1 answer

How to refresh taskbar preview even when the form is minimized

I'm having a problem and I noticed 90% of Windows(7,8,10) applications don't update taskbar preview (that little window when you hover over an app icon in taskbar) so when the app is minimized the taskbar preview just freezes and don't update…
1
vote
1 answer

Querying the Windows Media Player library

Possible Duplicate: Access the Windows Media Player library C# I'm trying to figure out how to programmatically query the Windows Media Player library from a C# program. I don't want to control the media player, just be able to query the index of…
rdelrossi
  • 1,114
  • 1
  • 7
  • 17
1
vote
1 answer

MP4 file created using gstreamer doesn't be played on Window Media Player

I created mp4 file using gstreamer. gst-launch-1.0 videotestsrc num-buffers=10 ! "video/x-raw, format=(string)NV12, width=(int)1280, height=(int)720, framerate=(fraction)30/1" ! videoconvert ! avenc_mpeg4 ! avmux_mp4 ! filesink…
1
vote
0 answers

How to change a video once the current has stopped?

I am currently working with .NET 4.5. Programming a photobooth. The photobooth should start wit fullscreen: Show an Intro screen with an intro video. When the user clicks on the screen, it has to show a get ready! video When the get ready video…
1
vote
1 answer

Userform Combobox plays song in media player based on its value

Need help on this. I have combobox which links to sheet that will show default value based on Column A value. Example, A| Twinkle Star | BY Ali B| ABC Song | By Kim C| 123 Song | By Els If i choose A, in userform will shows the twinkle star…
SES0204
  • 11
  • 1
1
vote
2 answers

Alternatives to axWindowsMediaPlayer component?

Is there an alternative to the axWindowsMediaPlayer component? I'd be using it from C#.
slemdx
  • 1,055
  • 2
  • 16
  • 19
1
vote
1 answer

Controlling Media Player in Visual Basic with WMPLib (or other)

I need to get the current song in Windows Media Player, preferably using the wmp.dll library. There's documentation on MSDN http://msdn.microsoft.com/en-us/library/dd563069%28v=VS.85%29.aspx but none of the resources I've tried have worked, even…
TCol
  • 11
  • 1
  • 3
1
vote
0 answers

build file for native scripts of viveMediaPlayer

Anyone has a build file (or make file) for native c++ scripts of the ViveMediaDecoder (a Mediaplayer in Unity for Windows platform) https://github.com/ViveSoftware/ViveMediaDecoder
MSD Paul
  • 1,648
  • 3
  • 13
  • 31