Flash videos in WebView not working in sandboxed app

时间秒杀一切 提交于 2019-12-01 12:14:54

问题


I'm having a problem with playing flash videos in my application. It's been working before, but ever since Apple has required every developer to enable entitlements and sandboxing, flash videos in the webview do not play. Everytime I disable sandboxing, it works, but if sandboxing is enabled, it doesn't. Below I've posted links images of the Sandboxing and Entitlements settings. Thanks.

http://i.stack.imgur.com/LCpvJ.png

http://i.stack.imgur.com/o6OVy.png


回答1:


figured out how to fix it...

go to your entitlements and add:

KEY:  com.apple.security.temporary-exception.mach-lookup.global-name    TYPE:Array

then add a string to the array with the value:

com.apple.WebKit.PluginAgent

This sets a temporary exception each time the application is run, giving the app permission to run the PluginAgent.



来源:https://stackoverflow.com/questions/8281666/flash-videos-in-webview-not-working-in-sandboxed-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!