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.

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

Similar Messages

  • Error with Windows Media Player ActiveX control

    When I try to drop in a Windows Media Player control I get an error:
    "Error loading type library/DLL"
    Any ideas?

    If upgrading is out of question. Like a budget stopping it. You could try to this http://www.microsoft.com/download/en/details.aspx?id=8002 That will allow you to run XP inside windows 7. It is also other media players like VLC and Apple quick time that have ActiveX controllers. I have tested the Quicktime version and it is quite good.
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • How do I open Windows Media Player 11 in a new window via labview 8.5 using ActiveX

    Hello,
    Although familiar with Labview, I am new to the ActiveX Controls. I have managed to open and play movie files in Labview with ActiveX controls but the player is embedded in Labview's front panel. How can I control what file is played and when it starts in Labview but have Windows media player 11 open in a separate window.
    Additionally, where can I find a description of the ActiveX properties.
    Thank you

    I'm trying to accomplish this same thing and am having a hell of a time finding the right Class, right Methods, and/or right Properties for a solution.  Some classes seem to return obscure errors when I try to create them use the invoke node "launchURL" (the WMPLib.ICore for example).  If I use the Player base class (which MSDS says is the root class and the class that is used when you create an embedded player) I don't get anything.
    What I would like is to progmatically launch Windows Media Player to play a particular video clip in full screen on the secondary monitor.  It seems like this should work:
    But doesn't... any ideas for this?  The C# examples are difficult to understand for me.  Also, the WMP class library is a MESS! (IMHO).  Thanks for your input.

  • Windows Media Player ActiveX not playing image, but WMP stand alone application does. Why?

    I use my Windows Media Player v11 with additional codec to play mp4 files (mp4 are not supported by default with WMP 11, so I had to install a codec). It works fine in the stand alone application, but when I use the ActiveX control in NI, it does not use the codec and I get only the sound... no image. I thought the ActiveX was simply an interface to the same core application used by NI and the stand alone media player. And if it is the same core, it should use the same codec. What am I missing?
    Solved!
    Go to Solution.

    I have a tip for you. If you download Quicktime 7(QT), you may select the QT activex player(see picture). It plays mp4 and looks better. And QT is free so it should not any problem. Try and see if it do you any good
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)
    Attachments:
    sample.PNG ‏114 KB

  • ActiveX: Opening a separate Windows Media Player 9 window and controlling playback

    Hey all,
    I am trying to open a video in WMP4 automatically in Labview and control it. There is an existing ActiveX container but it remains on the front panel. I can control its playback, but cannot pause and resume.
    I can also open the video on a WMP9 window outside of LabView through Labview, but I have not been able to control it. Merely start it, and then watch it till it finishes. This is the preferred operation I need to figure out.
    LabView Version: 8.6
    ActiveX application: Windows Media Player 4
    OS: Windows XP
    My questions are:
    a) How do you pause and resume a video file if using the ActiveX container for which LabView provides
    b) How could I access the playback controls of an externally opened WMP instance through LabView (because I want to automate the playback based on acquired signals)
    Note that the ActiveX refnum is WMP4  whereas the installed version on XP is WMP9.
    Thanks in advance for your help,
     Hasan
    Solved!
    Go to Solution.

    Hi,
    Thanks for your reply.
    I do not have the
    Vision Development Module in LabView. I think it would have been under
    `Vision and Motion', however that menu is empty.
    I have
    managed to do what I want in the ActiveX container that shows the video
    as a part of the front panel. I start the video, I pause it and the
    screen goes blank (I want this feature. I could also get it to show the
    frame at pause, but that does not suit my needs). When I resume the
    play, it seeks to the point at which I paused the video.
    To
    do this, I use the invoke property -> controls -> 
    methodforcontrols-> play / stop functions and the currentposition
    property as both read and write. I do not have the windows media
    software development kit.
    I have attached the VI which
    describes what I have managed to do. Changing the first property node
    to an invoke method -> openplayer node will open an external player,
    but still do the required control of video playback on the wmp
    container on the front panel, without affecting the video being run on
    the external window. It seems like I should be able to tweak it and get
    it to do the same thing on the external instance of WMP, yet I have not
    been able to figure it out.
    Thanks for looking at this,
    Hasan
    P.S. - I couldn't upload the video that I was using, hst_1.mpg because it is not a valid extension. Please substitute it with another file before running. Sorry for the inconvenience
    Attachments:
    playpausevid.vi ‏14 KB

  • Pantalla completa windows media player

    Buen día
    Estoy utilizando ActiveX  WMP (windows media player) para reproducir videos pero quisiera tener la pantalla completa de visualización en el archivo 2 que abjunto esta el WMP dentro del vi y si lo amplio del marco el video sigue estando del mismo tamaño lo que aumenta es un fondo negro. el archivo 3, ejecuta el WMP.exe pero no en pantalla completa, nose si existe alguna manera de poder darle la cualida de dar pantalla completa dentro del vi por codigo simulando el comando  ALT+ENTER O otra opción.
    Agradezco la colaboración que me se prestada,
    Oscar
    Attachments:
    2.vi ‏10 KB
    3.vi ‏8 KB

    Buen día Oscar!
    Para lograr lo que necesitas es posible utilizar un Property Node direccionado a la propiedad de fullscreen y pponer una constante tru como valor. Para hacer esto solo debes colocarte sobre el contenedor de tu WMP, dar click derecho y seleccionar create>> IWMP property node >> Fullscreen.
    Conecta la referencia y luego asigna el valor de true y esto debe solucionar tu problema.
    Saludos!

  • Safari with Windows Media Player cannot use PHP as filename/src/url

    I'm running Windows XP Pro SP2 with Windows Media Player 11
    and Safari 3 public beta. In addition to being the absolute
    slowest browser among MSIE, Firefox, Netscape, and Opera, the
    Safari browser has two annoying WMP defects.
    1) Even with WMP 11 installed, the code below for embedding
    can use either the classid for WMP v6.4 or v7+ but Safari
    (or rather it's plugin) always displays a v6.4 looking UI.
    All other browsers display the media player using the v11 UI
    2) Safari will not download the movie if the "filename" param
    is a web url (e.g. getmovie.php?select=1234 ) rather than the
    precise name of the movie file itself (e.g. "movie.wmv"). The
    other browsers may differ in use of the param name="xxxx", where
    xxxx is "filename" or "src" or "url" or "data" ... but Safari
    will not work using any of these.
    Has anyone successfully embedded a WMP object that uses the
    URL as a PHP page (or other server-side script) ? I have already
    my server-side PHP code that works perfectly for MSIE, Firefox,
    Netscape, and opera. Safari is the only problem browser.
    ------------------------CODE------------
    //Media Player v6.4
    // CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95
    //Media Player v7,9,10,11
    // CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6
    <object id="MediaPlayer"
    classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
    type="application/x-oleobject"
    height="300" width="300"
    codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab #Version=6,4,5,715"
    standby="Loading Microsoft Windows Media Player components...">
    <param name="url" value="http://www.yourdomain.com/movie.wmv">
    <!-- For other browsers * Windows Media Player -->
    <!--[if !IE]> <-->
    <object type="application/x-mplayer2" height="300" width="300">
    <param name="filename" value="http://www.yourdomain.com/movie.wmv">
    </object>
    <!--> <![endif]-->
    </object>

    I have run into several issues pointing to what you are describing...
    I fixed my Safari by installing the WMP plugin. I am able to view visualizations embedded into a webpage, one of which I created...I am able to view videos and so on.. Before I installed the plugin, All that would load is a place holder which looked like the old WMP and would not function properly. However this is what is displayed beside the media which is embedded.
    I think that I got the plugin by going to the download page for Safari and looking for plugins. Funny thing was that the plugin that I installed was the one for Firefox on its site that nobody every installs because Firefox gets the plugin if you already have WMP11 installed. Anyway this should solve your problem...with most..
    I have noticed just now that PHP served links or applications which launch in their own window and are protected by PHP script do work but still display a lack of functionality showing the Version 6.4 that you are speaking of. I checked it out using the KDGE Live Stream which opens another window, and displays version 11 properly ( in other browsers ), the link which is served is also protected and will close any media player that tries to play it on its own. It soley depends on the script which is coded into the page or window for the player. I can see this method as useful for a corporation as large and well advertised as ClearChannel Productions, because of the lack of bandwidth and cost to the company. Several sources do this and it winds up being an issue for the website administrator and designers to take care of, or update the script, or the person who has written the plugin, which could be from a number of resource; this particular instance would be the author of the WMP Plugin for Firefox.
    For any other purpose though the plugin I mentioned above should get rid of ( MOST ) of that problem.
    http://www.apple.com/safari/download/plugins.html
    Message was edited by: heath28m
    This is also a good link for sources and coding issues when embedding WMP.. Hope some of this helps..http://www.codingforums.com/showthread.php?t=50666&page=39
    Message was edited by: heath28m

  • Windows media player 9 labview 7

    I'm having problems with this, just as some other people have. After looking through the MSDN library, it seems all you need to do is place the Windows Media Player object in a front panel ActiveX control. Then on the block diagram, wire the object to a property node. Finally, wire the path to the URL property. This should load the file and automatically play it. Well, I've tried this with several different files. With all files, the video plays for the correct amount of time, but no picture shows up in the control on the front panel!
    What's interesting is that if I place an older version of the control (6.4) on the front panel (which I could only do by copy-paste from an example someone posted here - it's not available i
    n the Select Active X object box) and wire the path to the FileName property, it works perfectly.
    I've attached an example showing this. Place the path to a video (I'm using .avi files) in the path control and run the vi.
    Any ideas?
    Dave.
    ==============================================
    David Kaufman
    LabVIEW Certified Developer
    ==============================================
    Attachments:
    WMP_test.vi ‏37 KB

    I have version 9 also and here is a VI that works for me. I cannot remember if I got it from this forum or from LAVA but anyway this might work for you.
    Joe.
    "NOTHING IS EVER EASY"
    Attachments:
    show_video.vi ‏88 KB

  • Controlling windows media player in labview

    Hi,
    I am having difficulties controlling a WMP in LabVIEW using it's ActiveX controls... What i need to do is to have a control to to go from frame to frame. I made something but when i slide the crontroller, it suddenly hangs?
    Also: when i play the video in mij windows media player, it opens normally, but when i open it in the labview activex control, the screen stays balck? I have an AVI file that is H.264 compressed and i've installed the latest k-lite codec pack.
    I use a property Node (activeX) to adjust the controls "IWMPPlayer4" => "controls" -> IWMPControls => "current position".
    Does anyone has experience with this?
    Best regards,
    Thijs Boeree
    Solved!
    Go to Solution.

    Hello Thijs,
    With the first VI I was not able to reproduce the issue.
    With this one I am able to reproduce the hanging.
    I have slightly adapted your code to show you were it goes wrong. (see attachment)
    You see that if you click on a certain point/position in the slider you only get one execution of the "slider value change" event case.
    If you start sliding back and forth, then you have (very easily) several hundreds of executions of this event case.
    This is what is causing your "hanging".
    You also see that if you wait long enough, then you'll normally end up at the right position in the video.
    So this is where you would have to change your design.
    How do you actually want your design to follow the slider in LabVIEW?
    Do you want it to detect all small changes to the slider?
    Do you only want it to change after a significant change in slider value?
    Do you want it to only change when you've stopped sliding?
    Or do you want a combination of the things mentioned above?
    The attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system, or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject to the Sample Code License Terms which can be found at:
    http://ni.com/samplecodelicense
    Kind Regards,
    Thierry C - Applications Engineering Specialist Northern European Region - National Instruments
    CLD, CTA
    If someone helped you, let them know. Mark as solved and/or give a kudo.
    Attachments:
    WMP_paul_adapted.vi ‏20 KB

  • Open Windows Media Player through Java program

    I need to open a video and some music in windows media player... but I don't know how....
    Can anybody help???

    I hav implemented windows media player using JSP....i am sending code
    However for java program i do not know
    <html>
    </body>
    <!-- begin embedded WindowsMedia file... -->
          <table border='0' cellpadding='0' align="left">
          <tr><td>
          <OBJECT id='mediaPlayer' width="320" height="285"
          classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'
          codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701'
          standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject'>
          <param name='fileName' value="c:\abc.wmv">
          <param name='animationatStart' value='true'>
          <param name='transparentatStart' value='true'>
          <param name='autoStart' value="true">
          <param name='showControls' value="true">
          <param name='loop' value="true">
          <EMBED type='application/x-mplayer2'
            pluginspage='http://microsoft.com/windows/mediaplayer/en/download/'
            id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1'
            bgcolor='darkblue' showcontrols="true" showtracker='-1'
            showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="320" height="285"
            src="c:\abc.wmv" autostart="true" designtimesp='5311' loop="true">
          </EMBED>
          </OBJECT>
          </td></tr>
          <!-- ...end embedded WindowsMedia file -->
        <!-- begin link to launch external media player... -->
            <tr><td align='center'>
            <a href="http://servername/path/to/media.file" style='font-size: 85%;' target='_blank'>Launch in external player</a>
            <!-- ...end link to launch external media player... -->
            </td></tr>
          </table>
    </body>
    </html>

  • Windows Media Player no sound while playing a avi file in server and client connection using TCP/IP connection

    Hello there
    I have a problem with my windows media player while using server and client connection by using TCP/IP connection. So when I play a video using Windows Media Player in LabVIew there isn't any sound come out but when I'm playing a video by a Windows Media Player only the sound will come out. Can you help me solve this problem?
    I also upload the vi as the reference.
    The username for the client is ihsanhaikalz and the password is ganteng
    Thanks
    Attachments:
    Client Remote.vi ‏746 KB
    Server Remote.vi ‏1433 KB

    Hi ican,
    I was looking at your VI's but I cannot seem to pinpoint exactly where you are using Windows Media Player.  In order to more quickly assist you, could you please recreate this issue more concisely in a smaller set of VIs.  Also, were you able to get sound when you did not use the TCP/IP connection and simply played the files in LabVIEW?
    I noticed in a few places that you were using the Play Sound File.VI from the Graphics and Sounds palette.  Is that what you are refering to?  I noticed there that the file path that you have designated for the song is simply the song title.  Instead, this should be a path to where the song is located on your computer.
    Also, if you are planning on using Windows Media Player, have you considered using the ActiveX commands for Windows Media Player?  Here are a few examples if you are unfamiliar with this functionality.
    Example 1 and Example 2.
    I hope this helps!
    Kim W.
    Applications Engineer
    National Instruments

  • Windows Media Player plugin with Firefox not listed as suitable for SP3?

    I am running XP SP3 and have Windows Media Player 11 installed....when I check my plug-ins in Firefox Microsoft DRM and Windows Media Player Plug-in Dynamic Link Library both show as outdated (9.0.0.3250), however, when I click on 'update' Windows Media Player 11 shows (which I already have) and a Windows Media Player ActiveX control for Firefox, which is not listed as suitable for XP SP3 (only SP2)?
    Please advise me. Thank you.

    You may also have to delete the addons.sqlite file in addition to deleting pluginreg.dat

  • Start windows media player with trigger

    Hello,
    I have a VI that sends a trigger to Biopac MP100 through USB 6501 in order to take EEG signals. When I run the VI, I want windows media player start playing a movie automatically and I want the trigger to go to USB 6501 simultaneously. At the moment when I run the VI the trigger goes to 6501 but the windows media player doesn't start. What can I do?
    Solved!
    Go to Solution.

    Use the activeX container and make a WMP referance and than use the URL property to call a movie file
    Harold Timmis
    [email protected]
    Orlando,Fl
    *Kudos always welcome

  • Restoring Windows Media Player as IE default

    After finding only other posts asking for help on the same problem, I spent half a day looking into how to get Quicktime to stop taking over as the default player for MPEG movies in IE. What I found does the job but leaves IE without Quicktime support from the ActiveX component.
    Because the Quicktime support in IE is implemented as an ActiveX component, you can remove it from IE's view by unregistering it from your system. The ActiveX component is named QTPlugin.ocx and is located in your Quicktime install directory (at least for the current version). To unregister it, run the following command in a Command Prompt window (i.e., on the command line) or from the Start->Run menu item:
    regsvr32 /u "<insert your Quicktime install path here>\QTPlugin.ocx"
    This command leaves the ActiveX component isntalled on your system but removes it from being seen by Internet Explorer. Therefore, the previous default handler of MPEG movies, Windows Media Player in my case, takes over as before Quicktime was installed. You won't be able to play any Quicktime content inside IE in this state but the standalone Quicktime player still works. You can reverse the effect by running the command, again, but without the '/u' flag. That re-registers the ActiveX component and IE uses it as the default, once again.
    I hope this helps someone and I'd like to say that I'm not at all pleased with Apple's "taking over" IE this way nor with their lack of response to repeated requests for help in this matter from various people on this forum. And, yes, I tried telling Quicktime to not handle .mpg files both at install time and in Preferences. I, too, would have expected that to take care of it but it did not.
    Happy Father's Day!
    PC   Windows XP Pro  

    Forgive me for not being a computer savvy but where exactly is the Quicktime Control Panel? I've tried to access Quicktime options via right-clicking a dimmed question mark (yes, I have the same problem) and accessing Plug-in Settings. But this doesn't seem correct, because I've already "turned off" all file types associated with Quicktime under the "File Types" Tab and restarted Firefox but nothing happened. Might you be able to lead me in the right direction?

  • Windows media player extension is installed but does not pass the plugin test...what do I do now?

    I followed the instructions to install the Microsoft Media Player Extension in order to be able to listen to the radio in the Youtube Toolbar. I checked to make sure it was installed as per the instructions, then I tried the test that is provided in this link: http://plugindoc.mozdev.org/testpages/wmp11.html, but the screen was just black, and the radio still doesn't work...what should I do now?

    OK...but I still can't get the radio to work...I get an error message that says:
    "None of the Radio Player's stations or podcasts work.
    If none of the stations or podcasts work, then check whether your computer meets all the requirements below:
    - Operating system: Microsoft Windows 2000/XP/Vista or Mac OS.
    - Windows requirements:
    - JavaScript is enabled in your browser .
    - Cookies are enabled in your browser .
    - Windows Media Player version 9 or higher is installed
    - If you have an older Firefox toolbar version, you may need to install Media Player ActiveX .
    If you have met all the requirements above and the Radio Player still doesn’t work, please contact our Support Center . ''
    I've done all of the above, all requirements are met, and it STILL doesn't work!! Now what please?
    Last thing says "please contact our Support Center"...isn't this the support center...if not, please let me know who I should write to?
    thanks,
    Monica

Maybe you are looking for