by HarmlessDave » Mon Apr 17, 2017 4:04 pm
It might help to know more about what you're trying to accomplish.
Media that is on a website? Normally the web page uses HTML5 or a Flash applet to put the media inside of a player.
Without that, you could do something like intercept the request, stop it from being handled by the browser, save it to a temp file, then use Windows APIs to play the file with some user interface you write in MFC like a modeless dialog. Or pass the file to Windows Media Player and let it handle the UI.