Hi Guys,
I have searched the forum and other parts of the internet for a solution for an annoying problem with the ActiveX version of Windows Media Player (WMP).
If you embed WMP in the front panel and give the control a certain size, e.g. 800x600 and play a video with different dimensions (e.g. 320x240) the control will resize automatically.
The only 'workaround' I found is to regularly (every 50 ms or so) use a property node to resize the WMP-control.
I have attached an example of the problem below.
Apparently I'm not alone as there are more people having the same issue and it's still present in LabVIEW 2016. A couple of threads in this forum:
http://forums.ni.com/t5/LabVIEW/windows-media-player-resizing-issue/m-p/3321498
http://forums.ni.com/t5/LabVIEW/Windows-Media-Player-size/td-p/1310251/page/2
And one from Stackoverflow: http://stackoverflow.com/questions/3731828/why-my-embedded-video-resizes-automatically
However, after all these years nobody has found a working solution yet. So my questions are:
- Is there a solution for the WMP resize problem in LabVIEW?
- Has anybody ever tried an alternative embedded video player (ActiveX or .NET) that supports streaming video?
I have tried to get Viscomsoft Movie Player (http://www.viscomsoft.com/products/movieplayer) to work, but I couldn't even find the ActiveX control in LabVIEW.
The X360 Multiple Video Player (http://www.x360soft.com/products/multivideoplayer/) has a virus according to my scanner?!
The VisioForge Media Player (https://www.visioforge.com/media-player-sdk.html) does work for video files that are stored locally, but I couldn't get streaming to work since the documentation is very minimalistic.
Thank you very much for your help.
Paul