Flash 投影仪全屏播放视频
我使用以下方法在投影仪闪光灯中设置全屏:
stage.displayState = StageDisplayState.FULL_SCREEN;
接下来,我加载一个视频(带有 swf 播放器的 flv),然后添加一个名为“windowSmall”的“容器”影片剪辑,使用:
loader = new Loader();
loader.load(new URLRequest(path_to_swf));
windowSmall.addChild(gallery);
将视频添加到 windowSmall 后, 视频不再显示在窗口中,而是全屏显示。 然后我必须按 ESC 退出视频的全屏模式(投影仪也失去全屏模式)。
有人知道为什么加载的视频会全屏打开以及如何避免它? 我希望投影仪是全屏的,但加载的视频将只是容器内的原始尺寸。
I'm setting a fullscreen in a Projector flash using:
stage.displayState = StageDisplayState.FULL_SCREEN;
Next I load a video (flv with a swf player) and I add in a "container" movieclip called "windowSmall" using:
loader = new Loader();
loader.load(new URLRequest(path_to_swf));
windowSmall.addChild(gallery);
After I add the video to windowSmall,
the video instead of been displayed in the window is took to fullscreen.
Then I have to press ESC to exit the fullscreen mode of the video (and the projector lose his fullscreen too).
Anyone know why the loaded video is opened in fullscreen and how to avoid it?
I want the the projector is fullscreen, but the loaded video will be simply as his original dimensions inside the container.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我找到了解决方案:您必须
在具有 FLV 和 FLVPlayback 的 swf 中添加
I've found the solution: you have to add
inside the swf that has the FLV and the FLVPlayback