Win 10 Universal App with Cordova trying to load flash

前端 未结 2 1211
失恋的感觉
失恋的感觉 2021-01-04 19:24

I\'m building a cross-platform Cordova app with Visual Studio 2015 and tools for Apache Cordova. Therefore I\'m using the Blank Cordova App (with TypeScript) from Tools for

相关标签:
2条回答
  • 2021-01-04 19:50

    Simple answer: You can't use Flash player in that environment.

    Reason: You can not use ActiveX components from Windows Store apps.

    0 讨论(0)
  • 2021-01-04 19:58

    MSDN Says (https://msdn.microsoft.com/en-us/library/windows/apps/jj860457.aspx):

    Windows Runtime apps using JavaScript don't support custom Microsoft ActiveX controls. If you need a UI control, use an HTML control, a Windows Library for JavaScript control, or create your own custom WinJS control. If you need to perform custom logic, create a custom Windows Runtime object instead.

    It seems like in your frame, the plug-in ActiveX is used. If you are referencing a webpage and if the webpage is using shockwave flash, it might cause the problem. According to MSDN, it is not possible display a page which contains ActiveX plugin in Windows. Since you are not providing a code, I cannot exactly specify the reason, but this is my best guess.

    0 讨论(0)
提交回复
热议问题