09-25-2025 07:56 AM
Hi all,
I’m trying to display an MP4 video in a LabVIEW application using ActiveX + Windows Media Player (no other video players).
On the first run, the video displays correctly.
On the second run, the Media Player control shows only a black screen.
Here’s what I’ve tried so far:
Followed the NI tutorial: How Can I Open Video Files in LabVIEW?
Used Calling a LabVIEW VI by Reference to reload the player.
Searched existing topics on this forum and on LAVA, but no solution worked so far.
I’ve attached the example VIs to reproduce the issue.
Has anyone run into this issue with ActiveX + Windows Media Player and found a workaround (e.g., fully resetting/reloading the ActiveX control between runs)?
Thanks in advance for any advice!
Main VI:
Video VI:
09-25-2025 08:57 PM
I can run it for multiple times without any black screen with LabVIEW 2024 on Windows 11.
09-26-2025 04:32 AM
It crashes LV for me.