简体   繁体   English

flex 上的全屏问题,flash

[英]Fullscreen Problem on flex,flash

I have problem with a fullscreen Flash video.我对全屏 Flash 视频有问题。 I made a custom Flash video player.我制作了一个定制的 Flash 视频播放器。 This video player is working properly on its own in fullscreen.此视频播放器可在全屏模式下自行正常工作。 When I use this player for swf in a Flex app, then fullscreen causes some trouble.当我在 Flex 应用程序中将此播放器用于 swf 时,全屏会引起一些麻烦。 The player always stretches the parent Flex container.播放器总是拉伸父 Flex 容器。

I have attached screenshots of the normal state and problem state我附上了正常 state 和问题 state 的屏幕截图

NORMAL STATE http://122.183.225.85/images/full_video.JPG Fullscreen state http://122.183.225.85/images/full_image.JPG NORMAL STATE http://122.183.225.85/images/full_video.JPG Fullscreen state http://122.183.225.85/images/full_image.JPG

Not 100% sure what the issue is, but if it's basically that your video is scaling in FULL_SCREEN, you need to disable the video expanding when you're viewing in FULL_SCREEN using this:不是 100% 确定问题是什么,但如果基本上是您的视频在 FULL_SCREEN 中缩放,您需要使用以下方法在 FULL_SCREEN 中查看时禁用视频扩展:

your_video.fullScreenTakeOver = false;

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM