WIndows Media Player全屏 [英] WIndows Media Player fullscreen

查看:553
本文介绍了WIndows Media Player全屏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

两部分问题,希望有人知道答案这个。



第1部分:

我开发了一个使用Windows媒体播放器的vb6应用程序。应用程序从列表中检索视频,然后全屏播放
视频。程序用来播放视频的命令是:  


Form2.WindowsMediaPlayer1.URL =" video" + s $ +" .mp4"

还有其他代码可以将播放器置于全屏模式。每次按下usb脚踏开关时都会加载新视频。
全屏视频通过外部hdmi发送到投影机。问题是每当加载一个新视频时,播放器就会退出全屏模式。加载新视频需要大约一秒钟,所以在投影机上你会看到一个空白屏幕,其格式为
,这是播放器的容器(代码中的form2)可见片刻。


有没有办法在保持玩家全屏模式的同时加载新视频?我试图在加载到
时暂停播放器无效。


第2部分:

假设可以完成上述操作,视频加载时仍会有1秒的暂停。是否有办法定位下一个
视频,以便立即播放?我有尝试使用两个播放器实例,但一次只有一个可以全屏显示,所以在切换过程中,我得到了与上述相同的黑屏。


感谢您的任何评论。



Jluminais

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

推荐答案

您好,

根据您的描述,您的问题与VB6有关。此论坛正在讨论并询问有关vb.net的问题。

According to your description, your issue is more related about VB6. And this forum is discussing and asking questions about the vb.net.

在以下论坛中提问。

http://www.vbforums.com/forumdisplay.php?1-Visual-Basic-6-and-Earlier

最好的问候,

Alex

Alex


这篇关于WIndows Media Player全屏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆