I want to create a window application that will play an mp3 file that will be on another server.
As an example,
I have a URL ( http://songs.mastemag.com/indian-movie-songs/L/download.php?get=2cdeb5bfb354f297e97ba6b6b3b53203&file=1/love-aaj-kal/01%20~%20Twist%20(MastiMag. com) .mp3 ). I want to play this file from a windowed application on my local machine without downloading this file (via streaming)
I have code that uses "winmm.dll" and plays a local mp3 file. Is there a way that I can use this DLL to play this file type.
You can also suggest me a different approach.
Take a look at NAudio
An easy way would be to use Window Media Player Control (in stealth mode).It can work with http urls and local (file) urls.
Howto: use it with .NET
Source: https://habr.com/ru/post/1711564/More articles:jquery.gridLayout + filtered div-boxes → without resorting to help - jqueryForm calls 2 php functions - htmlA multi-page ASP.NET + C # solution. Where should I use my global utility features? - variablesAvoding unnecessary updates In a query update - sqlorg.w3c.dom.Document to XML string using Groovy - domThrottle application based on disk usage or CPU usage - cpu-usageNeed advice for ASP.NET Form Builder - asp.netWhat can I learn from Grails? - design-patternsHow to check if an assembly has changed - c #Running SSIS Package - Memory Problem! - ssisAll Articles