简体   繁体   English

如何在FDT AIR for IOS中模拟stageVideo

[英]How to simulate stageVideo in FDT AIR Application for IOS

I am trying to create an app that uses stageVideo and when testing on ipad device it is working fine, but when testing on desktop the STAGE_VIDEO_AVAILABILITY listener it is never AVAILABLE. 我正在尝试创建一个使用stageVideo的应用程序,并且在ipad设备上进行测试时可以正常运行,但是在台式机上进行测试时,则无法使用STAGE_VIDEO_AVAILABILITY侦听器。 I did put in the direct in the app.xml file. 我确实将直接放在app.xml文件中。 Any ideas how to configure the FDT to have stageVideo available? 有什么想法如何配置FDT以使stageVideo可用吗?

There are aspects that you have to keep in mind: 您必须牢记以下几个方面:

  • StageVideo is not supported on all platforms, ie on those without hardware acceleration. 不是所有平台都支持StageVideo,即没有硬件加速的平台。 You can test on a newer machine if you have one to verify. 如果有要验证的计算机,则可以在较新的计算机上进行测试。
  • Make sure you're running on AIR 3+. 确保您在AIR 3+上运行。
  • StageVideoAvailabilityEvent only fires when Stage.stageVideos property changes. StageVideoAvailabilityEvent仅在Stage.stageVideos属性更改时触发。
  • If window transparency is set to true, then the window “falls back” to software rendering and blitting, see Main window properties documentation 如果将窗口透明度设置为true,则该窗口将“退回”以进行软件渲染和提示,请参见主窗口属性文档。

Your case probably falls into one of the 4 scenarios. 您的情况可能属于4种情况之一。

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

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