Several Media Player ActiveX controls

I have a system that displays video files 'live' and those historical at the request of the user. To do this, I use the Windows Media Player ActiveX controls.

The 'live' (not really streaming, just a new video file all few seconds) display is part of my main façade, while the historical files play in a pop-up (also a VI) when the user requests them.

Control 'live' works very well until a historic video is required and the pop-up appears. As soon as the second WMP ActiveX control appears on the screen, two of them ceases to display the video!

They try - when either one of them has to play a file, "playing...". "appears in the status bar and reading progressive count time - but there is no video.

The problem persists even after the closure of the pop-up window.

No idea how to solve this problem?

I push the files for the ActiveX control by first calling "newMedia" in an Invoke node, then put the reference that in the property 'currentMedia' of a property node. What is the right way to do it?

(LabVIEW 8.2, WMP 10, WinXP SP2)

Thank you!

Hi Ian,

I had a glance on this issue and I am unable to reproduce your problem.

It is possible that the problem is due to a codec problem, what format are the video files? They use standard codecs?

I built a program example runs a video the main vi and appears a second video when you press a button.

If you change constants for path of file for videos that you use and test them using the sample program this will eliminate video formats as a problem.

I structured the ActiveX interface slightly differantly to how you described, nor your problem however re-created method.

Have a play with the sample program and let me know what happens.

Best regards

John Porter

Technical sales engineer
National Instruments UK

Tags: NI Software

Similar Questions

  • Windows Media Player ActiveX control causes memory leak

    I'm writing an application that will load and play *.avi files in an ActiveX control. The user must be able to load multiple files consecutively in the single player mode. However, it seems to be the memory leak every time that a file is loaded, even if it's the same file. For example, even when you load a small file in *.avi 81KO repeatedly, there is a memory leak ~ 6Mo coherent (as observed in the Manager of tasks). The leak memory is greater when I load larger files.

    I tried to deny it by adding using a Method Close by using the node invoke. It gets about 3 MB of RAM, but when I load the file again, it leaks ~ 9MB, leaving a net leak of ~ 6Mo once again.

    I also used reference close vi (s) to clear the memory ActiveX object, but that did not help either. In other versions of VI, I tried to eliminate the creation of a new IWMPlayer4 object using a shift register, but once again the leak memory persevered...

    It's a simple version of the VI, as well as the small video file attached. In my application, I want to be able to load large video files (~ 600 MB) several times without memory leaks. Thank you in advance for your help!

    -gpho

    Hi jareds.

    Thanks again for test it for me. I use Windows 7 and WMP version 12.

    As you requested, I tested it on a computer with Windows XP and WMP version 9 (and LabVIEW 8.2.1) and the problem of memory has disappeared. I then installed WMP version 11 on the same computer: still no memory problem.

    On the Windows 7 computer, I went back to version 11 using the instructions found on this link, and the problem of memory has disappeared. It seems that memory leak is due to a problem with WMP version 12 (although degraded version 11 on windows 7 has some bugs - and you can't go back to v12).

    Thanks again for the help!

    -gpho

  • read media player activex files

    Dear friends;

    I can load the playlist with Windows media player activex in LabVIEW 2009, but I don't know how to play.

    Thank me for help.

    Forgive me, I think my reading list had bad files path (I don't know why), in any case thsnk for your answer

  • Windows Media Player ActiveX plays do not image, but the stand alone WMP application. Why?

    I use my Windows Media Player v11 with extra codec to play mp4 files (mp4 are not supported by default with WMP 11, so I had to install a codec). It works very well in the stand-alone application, but when I use the ActiveX control in the regulation, it does not use the codec and I get only sound... no picture. I thought that the ActiveX was merely an interface to the same application of base used by OR and the stand alone media player. And if it's the same kernel, it must use the same codec. What Miss me?

    I have a tip for you. If you download Quicktime 7 (QT), you can select the QT activex player (see picture). It plays mp4 and seems better. QT is free, so there shouldn't be any problem. Try and see if it make you good

  • The flash player activex control?

    Hey, you have another question for the experts... I have a SWF and an activex media player on a page... stream URLS are in my flash movie and I wish I could choose which stream to play in the media player by clicking on a button on the swf...

    This is where I am currently in detail... skip down if you want the quick description

    In flash, I connect to my webservice and pick up the three tables. One called 'seen', one called "vc" and one called "vt".

    'vu' contains about 5-10 urls in service date here... vu1, vu2, vu3, vu4, vu5, etc...

    "vc" contains the name of the company in streaming... "vc1" is the source of "vu1" etc.

    "vt" contains the name of the actual flow

    function getVideoList() {}

    var pen: PendingCall = ws. GetVideoList();

    pen.onResult = {(res) function}

    var i = 0;

    NVID res =. NVID;

    for (i = 0; i < nvid; i ++) {}

    saw [i] = res.vid [i] .url;   databasecode

    VC [i] = res.vid [i] .src;   databasecode

    VT [i] = res.vid [i] .trk;   name

    }

    }

    }

    I then use localconnection to send vc [i] saw [i], and [i] vt to a second swf that I just want to control what is happening via a media player also on the same page

    var outgoing_lc = new LocalConnection();

    startbutton.onRelease = function() {}

    outgoing_lc. Send ("videolist", "leisure", seen, vc, vt) ;} ;

    This second swf picks it up and displays the names (vt) in text fields Dynamics (called vx1-20) located on top of buttons. The company continuously (vc) is displayed in another field of text dynmaic upstairs.

    var incoming_lc = new LocalConnection();

    incoming_lc. Connect ("videoList");

    incoming_lc.thefunction = function (param1, param2, param3) {}

    var i = 0;

    for (i = 0; i < = param1.length - 1; i ++) {}

    VX [i] .text = param1 [i];

    saw [i] = param2 [i];

    VC [i] = [i] param3;

    }

    };

    flash.external import. *;

    function SelectVideo (n) {}

    VideoSrc.Text = vc [n];

    HOW does send seen [n]?

    IM lost in the place where I want to by clicking on a button and pulling the "(n) SelectVideo" to send the url (see [n]) the reader multimedia activex on the same page and play... don't know how...? Looks like a simple concept, having the two communicate, but I had no chance. ExternalInterface is something ive tried but I can't seem to get it right on the side of actionscript and deleted from the code above... In Dreamweaver, the name of the drive multimedia activex is "mediaPlayer" and if ExternalInterface allows you to speak in javascript I have this function here...

    < script language = "Javascript" >

    function setVideoUrl (a) {}

    document.getElementById("mediaPlayer").setURL = has ;}

    < /script >

    This is the code for the Media Player object.

    < object classid = "CLSID:6BF52A52 - 394 A-11 d 3-B153-00C04F79FAA6"

    " codebase ="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=, 1,52,701"" "

    type = "application/x-oleobject" width = "340" height = "240"

    standby = "loading Microsoft Windows Media Player... components." »

    id = "mediaPlayer" >

    < param name = "url" value = "video10.png" >

    < param name = "uimode" value = "none" >

    < param name = 'stretchToFit"value ="true">

    < param name = 'enableContextMenu"value ="true">

    < embed type = "application/x-mplayer2".

    src = » http://www.mysite.com/video10.PNG "width = 340 height = 240 > "

    < / embed >

    < / object >

    SO... again... my question is... How to pushing me a button in a SWF fire a function that sends and plays the url of that feed in the same page activex media player?

    So you're on the right track. The best way I found to do is Google search for Flash and Javascript and create a flash test file and the html file. You should be able to make your javascript in your html page simple to launch a new window and go to yahoo or something. That's how you know you're in communication with the javascript function correctly. Then put it in what you are doing and if it does not, you know it's a problem of javascript to the media player not Flash to javascript. That should help a bit.

    I could do this from as2 to a popup which held an as3 document and their release back to build a screen shot and then saved. So I'm sure passing a string to a media player is possible and fairly easy

  • Windows Media Player volume control does not work during DVD playback.

    When I play a DVD in Windows Media Player or Windows Media Center I can't adjust the volume with the volume control of the program or main Windows volume control.  Simply sound 100% flight.  It's on a HTPC connected to an A / V recevier, so the only way to adjust the sound with the volume of the receiver control.  When I play any other type of multimedia (avi, mp3, etc.) in the two WMP or WMC in the program volume control is working properly.  The interesting part is, when I play a DVD using VLC Player or Cyberlink Power DVD the volume setting in the program as well as the main Windows volume control works correctly.  This leads me to believe it's a software is not a hardware problem.  I think that WMP and WMC using the same "engine" so the same problem knocking them both.

    Other info:

    Windows 7 64-bit.

    Windows Media Player 12 version

    Audio is routed to the receiver via the digital coaxial

    For what it's worth, this same problem occurred with the same exact material when I'm running Vista 32 bit.

    All other software is the latest version with all updates installed.

    Any ideas are welcomed and appreciated.  Thank you in advance.

    -Michael P.

    Hello

    Reinstall the WMP and WMC application and see if it works very well.

    1. open the Control Panel -> programs and features.

    2. click on Windows to enable or disable features in the left pane.

    3 expand the multimedia features, disable Windows Media Player. Click Yes to continue, and then click OK to exit. Then restart.

    Note: If you turn off your WMP, Windows Media Center will be off either. You may need to reconfigure the settings for Windows Media Center after her reactivation.

    4. open or turn off Windows features turn on again. Functionality in Windows Media Player and Windows Media Center. Turn it back on.

    5. launch Windows Media Player, initialize the program.

    PS: If you turn off your WMP, Windows Media Center will be off either. This does not happen when we choose to turn off MCE.

    $C

    God will not look you over for medals, but for scars. Each winner has scars; I do this either on the same heart

  • Flash Player ActiveX control content debugger on Windows 8

    Is it possible to install the debug version of the ActiveX Flash Player on Windows 8 control? None of the currently available from Adobe Installers now works on Windows 8. Even the Flash Player uninstall program cannot delete the Windows built-in player. You will solve this problem in the near future?

    Sorry for the lack of information on the content of the debugger to win 8.  The debugger will be available for download on the Microsoft Web site a few weeks after the general availability of Windows 8 (10/26).

    Thank you

    Chris

  • ActiveX: Open a separate window of Windows Media Player 9 and control playback

    Hey all,.

    I'm trying to open a video in WMP4 automatically in Labview and control. There is an existing ActiveX container, but it remains on the front panel. I can control its playback, but can not pause and resume.

    I can also open the video in a window outside of LabView through Labview WMP9, but I was not able to control. Simply run it and then watch until it ends. It is the preferred operation, I need to understand.

    LabView version: 8.6

    ActiveX application: Windows Media Player 4

    OS: Windows XP

    My questions are:

    (a) how to pause and resume a video file, if you use the ActiveX with LabView container ensures

    (b) how could I access an instance outside WMP open through LabView playback controls (because I want to automate reading based on acquired signals)

    Note that the ActiveX refnum is WMP4 while the version on XP is WMP9.

    Thanks in advance for your help,

    Hasan

    I had trouble with your application. I don't know if it's
    my version of LabVIEW or something else. He will not play for me.

    I would like to direct you to the following thread:

    Windows Media Player ActiveX plays do not image, but the stand alone WMP application. Why?

    If all goes well
    This will help enough to do what you want. I was not able to get
    whether at work, but it seems that it is much discussed on the
    forums. Everyone has tried to do the same thing as you?

  • Spintop Media Armhelper Activex Control1., which do I need?

    This appeared on Secunias list and I don't know what it is for I need? I have XP SP3. Should I also have Media Player 5, 6 and 11?
    Advice please,.
    Thank you
    Janetno

    Hello

    Yes you need Windows Media Player on Windows XP.

    Given that the problem is related to the Secunia Software, I recommend you contact Secunia support team to improve assistance, or you can post the query in their forums:

    Secunia Forum

    http://Secunia.com/Community/Forum/all_threads/

    See also:

    The vulnerability report: SpinTop Media Armhelper ActiveX control 1.x

    http://Secunia.com/advisories/product/22072/

  • Installation of Windows Media Player

    I have the Professional Windows 7 operating system. Whenever I try to open a video or audio file (music), I get an error message "Windows Media Player is not installed correctly and must be reinstalled. Do you want to install the Player from the Microsoft Web site. I click Yes each time, but don't can't download the player. "I see on the Web site that Windows 7 uses Windows Media Player 12, but I can't see any link to download this player.

    Getting started with Windows Media Player
    http://Windows.Microsoft.com/en-us/Windows7/getting-started-with-Windows-Media-Player

    Download Windows Media Center
    http://Windows.Microsoft.com/en-us/Windows/download-Windows-Media-Player

    Media Feature Pack for Windows 7 N with Service Pack 1 and Windows 7 KN with Service Pack 1
    http://www.Microsoft.com/download/en/details.aspx?displaylang=en&ID=16546

    The Media Feature Pack for Windows 7 N and Windows 7 KN will install Media Player
    and related technologies on a computer running Windows 7 N and Windows 7 KN,
    or these editions with Service Pack 1.
    For more information, please see http://support.microsoft.com
    and query the Knowledge Base for the number KB968211.

    Enable or disable Media Player:
    Start/Control Panel / view Set by (top right): "small icons".
    Now click on: programs and features and top left click: features on or off Windows activate
    Then, place a check in the "Media features" option to activate. Then click on the OK"" button.

    How to determine the version of Windows Media Player
    http://support.Microsoft.com/kb/190990

    J W Stuart: http://www.pagestart.com

  • About 5% of the cultures my Windows Media Player completely round images

    My Windows Media Player of the cultures of the images on all four sides by about 5%.   I noticied first on a newly created slide show photos.  The slideshow is well on other computers and on a VLC Media Player.  Windows 7 computer is three weeks old and came with Windows Media Player.  I tried to turn off Windows Media Player via Control Panel, restarting and then turn it back on, but the problem remains.

    Any ideas?

    Tom haki

    Make sure that your graphics card driver is an update. You to visit the manufacturer's Web site to download and install the latest graphics driver.

    Check the following settings: -.

    In the menu WMP:View, video size, video made the player when resizing

    View menu, video, good player to the video size

    Open WMP > tools > Options > Player tab > uncheck "allow the screensaver during playback.

    Eventually, you may need to reset the WMP 12

  • I can't install Flash player Activex for Internet Explorer on Windows 7

    Hello

    I have a problem with flash player in Internet Explorer.

    I'm working on Windows 7 and I am trying to install flash player, but I always have error messages when the installation process is superior at the end.

    I have following help pages for instructions on the flash player for Windows.

    I downloaded lfash for Internet Explorer Activex player but when the installer comes to 100% an error message appears and says "installation of the control flash player Activex failed"

    I have uninstall flayer on my computer and try to reinstall the olders versions. the flash drive has no problem installing on Firefox but can't it on olders same versions of internet explore.

    Then I have many apps on my computer that are no more work because they need Flash player for internet Explorer.

    Thank you for helping me.

    Hi GFAngel-9,

    Thanks for posting the screenshot.  It was very useful.

    For non-French speaking people who may come across this message, the error is "Flash Player ActiveX Control fails to register".

    The error record is generally returned when there are problems with permissions in the registry or the file system where the Flash Player is installed in.  Please read the FAQ How can I fix Windows with Flash Player permission problems? or the tech note Flash Player | Windows registry permissions.  The FAQ contains a video about the difficulty of running during the tech note contains more detailed information about the permissions problem.

    --

    Maria

  • windows media player control in labview

    Hello

    I'm having trouble controlling a WMP in LabVIEW using ActiveX controls is... What I have to do is to have a control to go from image to image. I did something, but when I slide the crontroller, it suddenly crashes?

    Also: when I play the video in windows media player from mij, it opens normally, but when I open it in the labview activex control, the screen remains black? I have a compressed H.264 AVI file and I have installed the latest codec pack k - lite.

    I use a Node (activeX) property to adjust orders "IWMPPlayer4"-online "orders"-> IWMPControls-online 'common position '.

    Anyone have experience with this?

    Best regards

    Thijs Boeree


  • Qosmio G10-133: remote control and Media Player

    I have media center to work and the player qosmio but I can't get the remote to work in media player someone help, in Device Manager, I have the eHome Remote under the usb section and the remote control turn on the laptop, but it won't work library when I press the green button or do anything else HELP...

    I checked the s manuals for this camera and I t has not found the information that you can remote user with Windows media player just with Qosmioplayer or Media Center.

    Sorry, but I think that there is nothing to do.

  • Express on a Satellite M115-S3094 media player controls

    I have a Toshiba Satellite m115-s3094 notebook. It came with the express media player feature. It worked when I ordered my playlist in windows media player 11.

    Today, the controls do not work at all.
    The two buttons above the controls (Internet and Media player) are fine, but I can't control the media player with the express media player controls.

    I've switched back to wmp 10, but I can't control it yet. I don't know if the express media player controls can control Media Center or not because I never tried to use it in media center, but the controls don't work not in media center either.

    I use a lot of these controls, if anyone can tell me how I can solve this problem.

    @ Gethsemane
    Yes, you must use the drivers and the CD of tools & utilities applications delivered. You need all if you want to use all the features of Toshiba laptop.

    Have you received a recovery CD? This CD contains the operating system image that contains all the drivers, tools and additional software. Just starting this announcement from CD, you will get full functional OS.

Maybe you are looking for

  • Fill startup disk

    I suddenly got a warning that my boot drive is almost full (1.5 GB left). It was unexpected to say the least. I recently (about a month) did a clean install of El Capitan on a new 960 GB SSD. After you add applications and data user from a backup, I'

  • HP Deskjet Ink Advantage 1515: Copy not copy not entirely page?

    Copy not fully copy the page?Options19/10/2015 14:49Product name: HP for printers ink advantage Deskjet 1515 seriesOperating system: Microsoft Windows 8.1 (64-bit)Place the document on the glass, close the lid. Insert a blank sheet of paper and after

  • X 220 i7 8 GB very slow WEI for processor

    Hi guys I searched and read many things on the limitation and the difference between 65W and 90W power provides all have an effect on the above topic. However, none of the fixes seem to work. Many of you report a 7.1 WEI while I can't get 3.4 with th

  • 17 HP ENVY J027CL BACKLIT KEYBOARD

    MY laptop should have a backlit keyboard to the official SPECIFICATIONS of HP, but it's not the f5 key is empty without the sign of the backlit. ALT and f5 doesn't work, nor does fn + f5 or fn + space. I just got this laptop two hours ago and I'm FUR

  • Keyboard backlit DV series 3500

    I see that the 'US' has DV3500 of a keyboard backlit but her dosent version 'UK '... Are there plans to have a backlit keyboard for the market of the 'UK '?