LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Windows Media Player Fullscreen ActiveX

Is it possible to run Windows Media Player in Fullscreen mode with ActiveX in LabView?  If not, is there a different player I could use?  I am trying to play video only (no sound) and the files are mosly avis.


0 Kudos
Message 1 of 8
(5,738 Views)
It is completly possible.  Once you create the ActiveX container, add Windows media player to it and if you wire a proprty node from the ActiveX pallete to the Windows Media Player, you can select the property "fullscreen".  You can right click on the property node and set to write and wire a constant or a control to it.

Kenny
Kenny

0 Kudos
Message 2 of 8
(5,734 Views)
That's more or less what I tried to do, but Fullscreen wasn't an option.  I think part of the problem might be with the version of Media Player that I'm using. 

I tried just making an ActiveX container and inserting an object, but couldn't actually find Media Player on the list.  I was looking around on the ni website and found an example of using Media Player and just copied the container with Media Player from that example, but I think it is an old version (v6 maybe). 

Any ideas why I can't find Media Player in the list?  Maybe if I used a newer version Fullscreen would be an option.
 

0 Kudos
Message 3 of 8
(5,722 Views)
I am using WMP 9 or 10.  Could be a possibility that the older versions did not have it.
Kenny

0 Kudos
Message 4 of 8
(5,720 Views)
Under your controls pallette, do you an pallete that is .Net & ActiveX?? (I have my pallete set up as Icons and Text and that makes the .Net & ActiveX pallete visible)  In there, there should be a Button that says Windows Media player.  that atuomatically puts a Windows Media player in a container on your front panel.  You can then just try to create a property node and see if one of the properties availible is Full screen.
 
I am using LV 8.0 too by the way.
Kenny

0 Kudos
Message 5 of 8
(5,718 Views)
Thanks for your help, Kenny.

I've got LabView 7.1 and I can't figure out how to get .NET & ActiveX to show up on my controls palette.  I tried changing the settings, but that didn't affect the content.  I used an ActiveX container out of the containers menu on the controls palette.  Then I right clicked on the container to add an ActiveX component.  There is a long list of programs to add, but not Media Player.  I've got Media Player 8.0 on my computer, so it should be able to find it.


0 Kudos
Message 6 of 8
(5,710 Views)
For me, when i right click the container to Insert the ActiveX object, under the Create Control menu, the very last option is Windows Media Player (with LV8.0)
 
I tried it in LV7.1 and it was like 10 lines from the bottom of the list.  In both caes, it was named Windows Media Player
Kenny

0 Kudos
Message 7 of 8
(5,705 Views)
Doh!  It's right there in the list.  But Fullscreen still isn't an option.  I even downloaded Media Player 10 and it isn't there either. 

0 Kudos
Message 8 of 8
(5,700 Views)