LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

mediaplayer

I'm using the ActiveX Object Windows Media Player. Everything works fine, exept the behavior of the window-size. I want have one define window-size for all videos. But if i start to play a video the size changed to the size of the video. If there a possibility that the window-size doesn't changed?
Where can I load the ActiveX-Element of MediaPlayer2? It's only possible to load WindowsMediaPlayer (MediaPlayer4)?
I'm using LabVIEW 8.2.1 and Windows XP Prof. SP2.

I've created a VI for MediaPlayer2. but there is an error: "Control could not be loaded". Where ist the "Control" of MediaPlayer2? In the attachment is the problem-vi.

Thanx for Help!
0 Kudos
Message 1 of 6
(4,165 Views)

Hi JensG,

I didn't analyze your code, but I would like to help you in another way.

1) When you choose a control, LabVIEW automatically use the most recent available. But if you already have an old version control it will not be substituted. So you can copy the control for Windows Media Player 6.4 in the attached vi.

2) Probably,  you will just need to set a false value in the AutoSize property for the control to avoid window resizing.

Let me know if your problems are completely resolved.

FSouza

0 Kudos
Message 2 of 6
(4,066 Views)
HI ,
 
 Iam karthick ,U have to use the displaysize invoke node to change the size of the display mode...and i attached that image here
0 Kudos
Message 3 of 6
(3,950 Views)

Sorry to interrupt you guys.I have seen you guys that you people have attached some files with your messages.Can you please tell me how to attach a file/vi with the question you are putting forward to the forum.i have a querry that i thought of putting in front of you but i couldnot upload the vi.

 

Sorry again for disturbing your discussion.

0 Kudos
Message 4 of 6
(3,948 Views)
Hi Robie,

that's not nice!

Question already answered here and here!


Message Edited by GerdW on 03-13-2008 10:59 AM
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 6
(3,936 Views)
Hi karthick,

there's a code capture tool available in the forum to ease the creation of pictures for the forum. When you save them as PNG you don't need to zip them to a reasonable filesizeSmiley Wink
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 6
(3,929 Views)