11-13-2010 07:21 AM
Hi, I am new to Labview software
and I am currently using it for my project, and I try to embed Windows Media Player on it. However, the size always changes depend on the video size that it plays. My question is: How can I size the WMP, so that eventhough I play the 800x600 pixels it will just stay in in original size?
Thanks
Solved! Go to Solution.
11-13-2010 01:56 PM
Hi, have you tried using the Container Bounds Property node?. If it doesn't work out, post your VI.
11-13-2010 02:01 PM
Actually, you'd need to set the propery on the Windows Media Player ActiveX control. The property you want to set is stretchToFit. You'd want to set that property to False.
11-14-2010 10:47 AM
How can I use the Container Bounds property node? Thanks
11-14-2010 10:48 AM
Oh I have tried to set the property to have false on the stretch to Fit however it still become larger when I play the video that I wanted. So I'm really confused
11-14-2010 09:02 PM
Just create a property node, and set it to all write, put in values and your control will be limited to what size you have put in.
11-15-2010 02:59 AM
Thx a lot 😃
yes it works!
01-15-2011 11:32 PM
i cant do it 😞
anyone can show me the steps :(? newbie here
01-16-2011 09:06 AM
07-29-2011 11:33 AM
@wond3rboy wrote:
Just create a property node, and set it to all write, put in values and your control will be limited to what size you have put in.
I have not tested this for AVIs, however it does not work for palying mp3s. The WMP window still resizes to a default (square) size when it starts playing an mp3.
LV 2009 SP1, Windows XP, WMP 10.00