WIndows Media Player fullscreen

  • Thread starter Thread starter Jluminais
  • Start date Start date
J

Jluminais

Guest
Hi all,
Two part question, Hoping someone knows the answer to this.

Part 1:
I have developed a vb6 application that uses windows media player. The application retrieves a video from a list then plays the video in fullscreen. The command the program uses to play the video is:
Form2.WindowsMediaPlayer1.URL = "video" + s$ + ".mp4"
There is additional code that puts the player in fullscreen mode. New videos are loaded each time a usb footswitch is pressed. The fullscreen video is sent over external hdmi to a projector. The problem is that whenever a new video is loaded, the player goes out of fullscreen mode. It takes about a second to load the new video so on the projector you see a blank screen with the form that is the container for the player (form2 in the code) visible for a moment.
Is there a way to load a new video while keeping the player in fullscreen mode? I have tried pausing the player while loading to no avail.
Part 2:
Assuming the above can be done, there will still be a pause of 1 second while the video loads. Is there a way to cue up the next video so it plays instantly? I have tried using two player instances but only one can be in fullscreen at a time so in the switching process I get the same black screen described above.
Thanks for any comments.
Jluminais

Continue reading...
 
Back
Top