Jump to content

Recommended Posts

Posted (edited)

Hi Community,

I use a UDF by @smashly to play a video in a GUI. That works fine for my main monitor.
But when I change the X and Y positions of the GUI (also for the video) to my second or third monitor, the video plays, I can hear the sound of it, but I don't see the video.

I debugged the UDF and checked the Microsoft description for MCI Command Strings which are used in the UDF (docs.microsoft...) - everything is fine, so I got no clue why the video isn't displayed.


PlayVideoTest.au3:

  Reveal hidden contents

 

VideoInGui_by_Smashky.au3 (UDF):

  Reveal hidden contents

 

The example video:

  Reveal hidden contents

 

It would be great when anyone can help :) .
Is there maybe a other way to play (display videos in GUI)?


Thanks for any suggestion - I'm grateful!
Sven

Edited by Sven-Seyfert
Posted (edited)

Hi Community,

after a lot of time of investigation and more searching through the forum, I decide to do it in an other way :) .
Other guys do have similar problems with videos in GUIs and sometimes it will be solved by VLC UDF or other external player.

For my case I can use a very simple way, a HTML5 Video, which I embedd through IE into the GUI.

+ I don't need an additional library or player to do that.
+ It works for every GUI position (it doesn't matter which monitor).
-  I have to use *.mp4 videos (but a video convert is pretty simple).

My solution (example):

  Reveal hidden contents

Still, if there are different solutions or other ideas, I appreciate it ;) .

Thanks for any suggestion - I'm grateful!
Sven

Edited by Sven-Seyfert

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...