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
0
votes
1 answer

Get duration of Windows Media Player 12 supported movie types in c# web application

I know it sounds similar to many other questions, but I haven't found anything that applies exactly to my situation. This is a c# Web Application using MVC. I need to, in the controller, get the duration of a file given the filepath (guaranteed to…
ItinerantEngineer
  • 255
  • 1
  • 4
  • 14
0
votes
1 answer

.NET CF Application Process is not terminating. We use AxHost based Windows Media Player Component

The problems with Windows Media Player on a .NET CF based application are endless. In one of the .NET CF 3.5 applications, we are using ActiveX controls to play videos. The code for the media player ActiveX control is from this MSDN article. It had…
Gopinath
  • 1,858
  • 7
  • 31
  • 50
0
votes
0 answers

How to listen to mp3 file like synchronous method?

I'm creating a C# application, in which I need to reproduce a MP3 file. As soon as the file has been completely reproduced (not before) I want execute other methods. The problem is that, since surely a thread is used for reproduce sounds, all the…
bircastri
  • 153
  • 4
  • 13
0
votes
2 answers

Registry key path for Windows media player

I am trying to play a video in Windows media player through my code. The path is: C:\Program Files (x86)\Windows Media Player\wmplayer.exe If I hardcode it, string filePath = System.IO.Path.Combine (Application.streamingAssetsPath,…
Vivek Kalkur
  • 2,200
  • 2
  • 21
  • 40
0
votes
1 answer

Play video from StreamingAssets folder in Windows Media Player?(Unity 3D)

This is a question On Unity 3d. I can play video which is there in my StreamingAssets folder. But is there a way in which I click a button and the same video gets played in the Windows Media Player. I researched a lot on this but could not find any…
Vivek Kalkur
  • 2,200
  • 2
  • 21
  • 40
0
votes
1 answer

Random acting strange in vb.net

I have a form application that creates 10 random numbers and then plays different guitar strings based off of that list of number, but every time i run it, there is always at least 3 back to back repeats of a number. The application writes to a text…
Zingo
  • 281
  • 3
  • 8
  • 25
0
votes
0 answers

WMPlayer doesn't start

I'm trying to get a number of frames from video using windows media player control. It was placed on Panel control. Public Class Form1 Private b As New System.Drawing.Bitmap(160, 120) Private rct As New Rectangle(0, 0, 160, 120) Private…
0
votes
1 answer

How to load a file in IWMPPlayer without playing it?

I've got a project that uses IWMPPlayer4, the ActiveX interface to Windows Media Player. Downloading and playing a video from the Internet is easy: just call put_URL, and it connects to the video and begins to play it. But what if I want to tell it…
Mason Wheeler
  • 82,511
  • 50
  • 270
  • 477
0
votes
0 answers

When writing .wav file from AudioInputStream, Windows Media Player can't play it

I'm trying to write a file from an AudioInputStream. The stream can read the original file just fine (as far as I can tell). But when it tries to write, it writes what should be a 15 KB file in 44 bytes. Windows Media Player gives the error "either…
JavaNinja
  • 1
  • 3
0
votes
0 answers

Implementation of threading and WindowsMediaPlayer causing screen flicker and lag

I've been trying to pin down an annoying performance bug in my C# 2d game engine. It only occurs when I have sound enabled, and I am trying to figure out what I am doing wrong. I suspect multiple things, since the sound functionality was implemented…
CdrTomalak
  • 479
  • 1
  • 4
  • 15
0
votes
1 answer

How is the GUI for Windows Media Player 10 produced? Is it WPF?

I'm sure WPF could produce a GUI replica, but is it actually made with WPF? I've done some searching, but I'm not able to find what GUI library they used.
Finglas
  • 15,518
  • 10
  • 56
  • 89
0
votes
1 answer

windows media player stops of playing the song when PlayStateChange changed to play

this is my code: Private Sub AxWindowsMediaPlayer1_PlayStateChange(ByVal sender As System.Object, ByVal e As AxWMPLib._WMPOCXEvents_PlayStateChangeEvent) Handles AxWindowsMediaPlayer1.PlayStateChange If AxWindowsMediaPlayer1.playState =…
Dave Mas
  • 75
  • 1
  • 2
  • 8
0
votes
2 answers

How to disable controls in Windows Media Player in WPF

I was just wondering if there is a way to disable controls such as ctr Left/Right arrows or Alt+left/right arrows in AxWindowsMediaPlayer. I am using it in WindowsFormsHost in my WPF project. I would like to capture these controls and handle them…
paradisonoir
  • 2,892
  • 9
  • 30
  • 41
0
votes
1 answer

How to create visualisations like the one in Windows Media Player?

I am trying to work on a project which involves capturing live data and projecting some image depending on the input. The output is required to be something similar to the Visualizations in Windows Media Player. For example…
jatin3893
  • 832
  • 1
  • 11
  • 24
0
votes
1 answer

Is it possible to create a new instance of the Windows Media Player class in VB 2008 code?

I don't want a Windows Media Player control on my form. I'm making an alarm clock. I have tried this: Friend WithEvents WindowsMediaPlayer As New Microsoft.Win32. But I don't see a Windows Media Player member. Thank you. I also asked on the MSDN VB…
Geoffrey
  • 5,407
  • 10
  • 43
  • 78